dongnuo123 commented on code in PR #16057: URL: https://github.com/apache/kafka/pull/16057#discussion_r1617332456
########## group-coordinator/src/test/java/org/apache/kafka/coordinator/group/GroupMetadataManagerTest.java: ########## @@ -8695,7 +8691,7 @@ public void testLeaveGroupInvalidGroup() { .build(); context.createClassicGroup("group-id"); - assertThrows(UnknownMemberIdException.class, () -> context.sendClassicGroupLeave( + assertThrows(GroupIdNotFoundException.class, () -> context.sendClassicGroupLeave( Review Comment: Yes it makes sense. I thought we wanted to address these GroupIdNotFound together somewhere else but that might not be possible -- 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