lucliu1108 commented on code in PR #24141:
URL: https://github.com/apache/kafka/pull/24141#discussion_r4582300482
##########
group-coordinator/src/test/java/org/apache/kafka/coordinator/group/GroupMetadataManagerTest.java:
##########
@@ -6997,6 +6997,130 @@ public void
testLastJoiningMembersAreKickedOutWhenRejoiningGroupWithMaxSize() {
.forEach(memberId -> assertTrue(group.hasMember(memberId)));
}
+ @Test
+ public void
testJoinPhaseCompletesWhenLastRejoiningMembersAreRejectedWithGroupMaxSize() {
Review Comment:
Fix: I added the test
`testClassicRebalanceCompletesWhenOverCapacityMemberIsRejected`. It is
basically the same as the example above, only difference being making the
`validateGroupAssignment` maximum wait time a little longer (to 30s) to avoid
potential flakiness, while increasing the rebalanceTimeoutMs to 120s, since we
won't hit that long anyway.
--
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]