Justin Bertram created ARTEMIS-5639:
---------------------------------------
Summary: Fix MQTTRetainMessageManagerTest
Key: ARTEMIS-5639
URL: https://issues.apache.org/jira/browse/ARTEMIS-5639
Project: ActiveMQ Artemis
Issue Type: Bug
Reporter: Justin Bertram
Assignee: Justin Bertram
I noticed that MQTTRetainMessageManagerTest failed at one point on the
test-suite, but the error message made no sense. On further investigation it
turns out there's a bug in the assertion such that it compares two values, but
the failure message references a value that wasn't actually tested.
Furthermore, the assertion converts a {{byte[]}} to a {{String}}, but the
{{byte[]}} is full of non-printable characters so it makes the error message
more difficult to read than is really necessary. The test should instead use a
human readable {{String}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact