m1a2st commented on code in PR #19678: URL: https://github.com/apache/kafka/pull/19678#discussion_r2085742892
########## group-coordinator/src/test/java/org/apache/kafka/coordinator/group/assignor/RangeSetTest.java: ########## @@ -32,16 +32,30 @@ public class RangeSetTest { + @Test + void testOverflow() { + // This range is the maximum size we allow. + new RangeSet(0, Integer.MAX_VALUE); Review Comment: ```suggestion assertDoesNotThrow(() -> new RangeSet(0, Integer.MAX_VALUE)); ``` -- 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