[ https://issues.apache.org/jira/browse/KAFKA-15206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Divij Vaidya updated KAFKA-15206: --------------------------------- Description: Test fails 2% of the time. [https://ge.apache.org/scans/tests?search.timeZoneId=Europe/Berlin&tests.container=kafka.log.remote.RemoteIndexCacheTest&tests.test=testClose()] This test should be modified to test assertTrue(cache.cleanerThread.isShutdownComplete) in a TestUtils.waitUntilTrue condition which will catch the InterruptedException and exit successfully on it. was: Test fails 2% of the time. [https://ge.apache.org/scans/tests?search.timeZoneId=Europe/Berlin&tests.container=kafka.log.remote.RemoteIndexCacheTest&tests.test=testClose()] The reason for failure is https://issues.apache.org/jira/browse/KAFKA-15205 This test should be modified to test assertTrue(cache.cleanerThread.isShutdownComplete) in a TestUtils.waitUntilTrue condition which will catch the InterruptedException and exit successfully on it. > Flaky test RemoteIndexCacheTest.testClose() > ------------------------------------------- > > Key: KAFKA-15206 > URL: https://issues.apache.org/jira/browse/KAFKA-15206 > Project: Kafka > Issue Type: Test > Reporter: Divij Vaidya > Priority: Minor > Labels: flaky-test > Fix For: 3.8.0 > > > Test fails 2% of the time. > [https://ge.apache.org/scans/tests?search.timeZoneId=Europe/Berlin&tests.container=kafka.log.remote.RemoteIndexCacheTest&tests.test=testClose()] > > This test should be modified to test > assertTrue(cache.cleanerThread.isShutdownComplete) in a > TestUtils.waitUntilTrue condition which will catch the InterruptedException > and exit successfully on it. -- This message was sent by Atlassian Jira (v8.20.10#820010)