Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-15206

Flaky test RemoteIndexCacheTest.testClose()

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.8.0, 3.7.1
    • None

    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.

      Attachments

        Issue Links

          Activity

            People

              ckamal Kamal Chandraprakash
              divijvaidya Divij Vaidya
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: