squah-confluent commented on code in PR #19678:
URL: https://github.com/apache/kafka/pull/19678#discussion_r2086650043


##########
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:
   Thanks for the suggestion, it reads a lot better.



-- 
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

Reply via email to