[
https://issues.apache.org/jira/browse/HDDS-9852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-9852:
-----------------------------------
Fix Version/s: 1.5.0
> Intermittent timeout in testCorruptionDetected waiting for container to
> become unhealthy
> ----------------------------------------------------------------------------------------
>
> Key: HDDS-9852
> URL: https://issues.apache.org/jira/browse/HDDS-9852
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: test
> Affects Versions: 1.4.0
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.5.0
>
>
> {code:title=https://github.com/adoroszlai/ozone-build-results/blob/master/2023/12/06/27331/it-ozone/hadoop-ozone/integration-test/org.apache.hadoop.ozone.dn.scanner.TestBackgroundContainerDataScannerIntegration.txt}
> 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)
> {code}
> {code:title=https://github.com/apache/ozone/blob/d1fdf27c6313a66cd895f4139b95e5ee18a02828/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/dn/scanner/TestBackgroundContainerDataScannerIntegration.java#L79-L84}
> corruption.applyTo(container);
> // Wait for the scanner to detect corruption.
> GenericTestUtils.waitFor(
> () -> container.getContainerState() == State.UNHEALTHY,
> 500, 5000);
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]