apalan60 commented on code in PR #19628:
URL: https://github.com/apache/kafka/pull/19628#discussion_r2073340999


##########
storage/src/test/java/org/apache/kafka/storage/internals/log/RemoteIndexCacheTest.java:
##########
@@ -376,6 +376,8 @@ public void testCleanerThreadShutdown() throws IOException, 
InterruptedException
         // close the cache properly
         cache.close();
         // verify that the thread is closed properly
+        TestUtils.waitForCondition(() -> getRunningCleanerThread().isEmpty(),

Review Comment:
   @chia7712 
   
   Thanks for your review. I’ve removed the old check and reused the existing 
logic to maintain consistent behavior. PTAL.
   



-- 
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

Reply via email to