AndrewJSchofield commented on code in PR #23221:
URL: https://github.com/apache/kafka/pull/23221#discussion_r3856589461


##########
clients/src/test/java/org/apache/kafka/clients/consumer/internals/FetcherTest.java:
##########
@@ -299,11 +292,28 @@ public void testInflightFetchOnPendingPartitions() {
     public void testCloseShouldBeIdempotent() {
         buildFetcher();
 
-        fetcher.close();
-        fetcher.close();
-        fetcher.close();
+        assignFromUser(singleton(tp0));

Review Comment:
   I kind of liked it in a bizarre way. I'll update the test :) 



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

Reply via email to