feyman2016 commented on a change in pull request #8589: URL: https://github.com/apache/kafka/pull/8589#discussion_r429082487
########## File path: core/src/test/scala/integration/kafka/api/PlaintextAdminIntegrationTest.scala ########## @@ -1155,12 +1192,15 @@ class PlaintextAdminIntegrationTest extends BaseAdminIntegrationTest { assertTrue(deleteResult.deletedGroups().containsKey(testGroupId)) assertNull(deleteResult.deletedGroups().get(testGroupId).get()) - } finally { - consumerThread.interrupt() - consumerThread.join() - } } finally { - Utils.closeQuietly(consumer, "consumer") + consumerThreads.foreach { + case consumerThread => + consumerThread.interrupt() + consumerThread.join() + } + } + }finally { Review comment: Thanks, but I wonder what does the **template** refer to here? ---------------------------------------------------------------- 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