echonesis opened a new pull request, #10819: URL: https://github.com/apache/ozone/pull/10819
## What changes were proposed in this pull request? This PR reduces the execution time of `TestDatanodeHddsVolumeFailureDetection` by reusing one `MiniOzoneCluster` for each container schema version instead of creating a new cluster for every test method. The test class is converted to a JUnit parameterized class covering schema V2 and schema V3. After each test, the failed volume is restored so that the cluster can be reused safely: - Schema V3 restarts the datanode because a volume failure closes the shared RocksDB instance. - Schema V2 restores the per-container volume and adds it back to the active volume map. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-10314 ## How was this patch tested? Local Test ``` mvn -pl :ozone-integration-test test -Dtest=TestDatanodeHddsVolumeFailureDetection -DskipShade -DskipRecon ``` GitHub Actions CI: https://github.com/echonesis/ozone/actions/runs/29737666866 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
