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


##########
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(),
+                "Failed while waiting for cleaner thread to shutdown");

Review Comment:
   @frankvicky 
   Thanks for your review. I've updated it.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to