showuon commented on code in PR #15132: URL: https://github.com/apache/kafka/pull/15132#discussion_r1442645316
########## core/src/test/scala/unit/kafka/server/KafkaApisTest.scala: ########## @@ -4075,6 +4122,7 @@ class KafkaApisTest extends Logging { assertEquals(authorizedTopic, metadataResponseTopic.name()) } } + kafkaApis.close() Review Comment: No, this one is special. If the 1st one throws exception before it closes, we'll close it in the `AfterEach`. -- 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