Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-5626 Track and Address Flaky tests
  3. HDDS-9852

Intermittent timeout in testCorruptionDetected waiting for container to become unhealthy

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 2.0.0
    • test

    Description

      org.apache.hadoop.ozone.dn.scanner.TestBackgroundContainerDataScannerIntegration.testCorruptionDetected(ContainerCorruptions)[7] -- Time elapsed: 9.145 s <<< ERROR!
      java.util.concurrent.TimeoutException: 
      ...
        at org.apache.ozone.test.GenericTestUtils.waitFor(GenericTestUtils.java:231)
        at org.apache.hadoop.ozone.dn.scanner.TestBackgroundContainerDataScannerIntegration.testCorruptionDetected(TestBackgroundContainerDataScannerIntegration.java:82)
      
          corruption.applyTo(container);
      
      
          // Wait for the scanner to detect corruption.
          GenericTestUtils.waitFor(
              () -> container.getContainerState() == State.UNHEALTHY,
              500, 5000);
      

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: