You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "tinaselenge (via GitHub)" <gi...@apache.org> on 2023/09/27 11:51:22 UTC

[GitHub] [kafka] tinaselenge commented on a diff in pull request #14453: MINOR: Close UnifiedLog created in tests to avoid resource leak

tinaselenge commented on code in PR #14453:
URL: https://github.com/apache/kafka/pull/14453#discussion_r1338486017


##########
core/src/test/scala/unit/kafka/log/UnifiedLogTest.scala:
##########
@@ -71,6 +72,13 @@ class UnifiedLogTest {
   @AfterEach
   def tearDown(): Unit = {
     brokerTopicStats.close()
+    try {
+      log.close()

Review Comment:
   should be fixed now.



-- 
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-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org