brusdev commented on code in PR #5431: URL: https://github.com/apache/activemq-artemis/pull/5431#discussion_r1910548905
########## tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/routing/RedirectTest.java: ########## @@ -105,39 +98,41 @@ public void testSimpleRedirect() throws Exception { QueueControl queueControl1 = (QueueControl)getServer(1).getManagementService() .getResource(ResourceNames.QUEUE + queueName); - assertEquals(0, queueControl0.countMessages()); - assertEquals(0, queueControl1.countMessages()); + for (String protocol : Arrays.asList(protocols)) { Review Comment: Now I see your point, extracting a method is better for analyzing a failure. -- 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: gitbox-unsubscr...@activemq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For additional commands, e-mail: gitbox-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact