echonesis opened a new pull request, #11013: URL: https://github.com/apache/ozone/pull/11013
## What changes were proposed in this pull request? This patch ensures that `BlockDeletingServiceTestImpl` is shut down in a finally block. Service shutdown waits for the deletion tasks to finish and release their container DB references before test cleanup runs. The same lifecycle handling is also added to `testChecksumFileUpdatedWhenDeleteRetried`, which starts the service without shutting it down and is susceptible to the same teardown race. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-16131 ## How was this patch tested? Local Test ``` mvn -pl :hdds-container-service test \ -Dtest='TestBlockDeletingService#testBlockDeletionMetricsUpdatedProperlyAfterEachExecution+testChecksumFileUpdatedWhenDeleteRetried' \ -DskipShade -DskipRecon -DskipDocs ``` ### GitHub Actions CI - build-branch: https://github.com/echonesis/ozone/actions/runs/31658338732 - flaky-test-check: https://github.com/echonesis/ozone/actions/runs/31658570932 -- 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]
