jeffkbkim commented on code in PR #14122: URL: https://github.com/apache/kafka/pull/14122#discussion_r1311902770
########## group-coordinator/src/test/java/org/apache/kafka/coordinator/group/GroupMetadataManagerTest.java: ########## @@ -9119,4 +8602,397 @@ public void testHeartbeatDuringRebalanceCausesRebalanceInProgress() throws Excep HeartbeatResponseData heartbeatResponse = context.sendGenericGroupHeartbeat(heartbeatRequest); assertEquals(Errors.REBALANCE_IN_PROGRESS.code(), heartbeatResponse.errorCode()); } + + public static <T> void assertUnorderedListEquals( + List<T> expected, + List<T> actual + ) { + assertEquals(new HashSet<>(expected), new HashSet<>(actual)); + } + + private void assertResponseEquals( Review Comment: made all helpers static -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org