clebertsuconic commented on code in PR #5430: URL: https://github.com/apache/activemq-artemis/pull/5430#discussion_r1910658769
########## tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/cluster/distribution/ClusterTestBase.java: ########## @@ -1335,6 +1327,15 @@ protected void verifyReceiveRoundRobinInSomeOrderWithCounts(final boolean ack, } + private static boolean matchCounters(int[] messageCounts, Set<Integer> counts) { + for (int messageCount : messageCounts) { + if (!counts.contains(messageCount)) { + return false; + } + } + return true; Review Comment: I am moving this to MessageRedistributionTest, so its usage is more constrained to the only test where it's needed. -- 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