divijvaidya commented on code in PR #12590: URL: https://github.com/apache/kafka/pull/12590#discussion_r1055534331
########## clients/src/test/java/org/apache/kafka/clients/consumer/KafkaConsumerTest.java: ########## @@ -1600,9 +1605,8 @@ public void testCloseInterrupt() throws Exception { @Test public void testCloseShouldBeIdempotent() { KafkaConsumer<byte[], byte[]> consumer = newConsumer((String) null); - consumer.close(); - consumer.close(); - consumer.close(); Review Comment: Yes, idempotency can be verified by two calls to close(), third one just adds to the total running time of this 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org