jeffkbkim commented on code in PR #16057: URL: https://github.com/apache/kafka/pull/16057#discussion_r1617796172
########## 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: i also thought we would convert it in GroupCoordinatorService. -- 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