vvcephei commented on a change in pull request #10404: URL: https://github.com/apache/kafka/pull/10404#discussion_r604216817
########## File path: clients/src/test/java/org/apache/kafka/clients/admin/AdminClientUnitTestEnv.java ########## @@ -113,6 +114,9 @@ public MockClient kafkaClient() { @Override public void close() { + // tell the admin client to close now + this.adminClient.close(Duration.ZERO); + // block until it is really closed this.adminClient.close(); Review comment: Fair enough. I'll change the second close to time out after the default timeout of 2 minutes. -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org