rjgoyln opened a new pull request, #12211: URL: https://github.com/apache/ozone/pull/12211
## What changes were proposed in this pull request? `testOverWriteKeyWithAndWithOutVersioning` sometimes fails with `Expecting actual not to be empty` while looking for the overwritten key's old version in the deleted table. The test cluster runs `KeyDeletingService` every second, and HDDS-13861 suspended it only after the overwrite, so a run that lands between the overwrite and `suspend()` can purge the entry first. - Suspend `KeyDeletingService` before the test creates its keys. - Resume it in `finally`. Resuming in `finally` also keeps a failed assertion from leaving the service suspended for the other tests sharing the cluster. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-17811 ## How was this patch tested? With a 5 s sleep added after the non-versioned overwrite, the test fails on master with the error from the JIRA, and passes with this change. CI: https://github.com/rjgoyln/ozone/actions/runs/46572547661 Flaky check (10x10): https://github.com/rjgoyln/ozone/actions/runs/46572547113 Generated-by: Claude Code (Opus 5.5) -- 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]
