ijuma commented on a change in pull request #10404: URL: https://github.com/apache/kafka/pull/10404#discussion_r601759185
########## 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: Seems like we should do a single `close` with some timeout. cc @cmccabe -- 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