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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact