You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Divij Vaidya (Jira)" <ji...@apache.org> on 2023/07/18 14:29:00 UTC

[jira] [Created] (KAFKA-15206) Flaky test RemoteIndexCacheTest.testClose()

Divij Vaidya created KAFKA-15206:
------------------------------------

             Summary: Flaky test RemoteIndexCacheTest.testClose()
                 Key: KAFKA-15206
                 URL: https://issues.apache.org/jira/browse/KAFKA-15206
             Project: Kafka
          Issue Type: Test
            Reporter: Divij Vaidya


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)