gemmellr commented on code in PR #4602:
URL: https://github.com/apache/activemq-artemis/pull/4602#discussion_r1319865619
##########
tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/server/LVQTest.java:
##########
@@ -167,11 +167,13 @@ public void testMultipleMessages() throws Exception {
ClientMessage m = consumer.receive(1000);
Assert.assertNotNull(m);
m.acknowledge();
- Assert.assertEquals(m.getBodyBuffer().readString(), "m3");
+ String val = m.getBodyBuffer().readString();
+ Assert.assertTrue("1 or 3 =? " + val, "m1".equals(val) ||
"m3".equals(val));
Review Comment:
It is currently but per your comment and other tests it could probably be
made deterministic. Instead, with this change the test wouldnt really be
verifying anything much at all.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]