chihsuan opened a new pull request, #12123: URL: https://github.com/apache/ozone/pull/12123
## What changes were proposed in this pull request? `TestBlockOutputStreamWithFailures`, `TestFailureHandlingByClient` and `TestMultiBlockWritesWithDnFailures` stop datanodes on purpose. The client then keeps retrying the write on the old pipeline until the Ratis client write request timeout (30s) expires, so each such failure waits 30-34 seconds. This PR lowers the timeout to 10s. Tests that lose the majority of the pipeline cannot succeed by retrying, so `test2DatanodesFailure` and the shared client in `TestMultiBlockWritesWithDnFailures` give up after 4s. This stays above the 3s Ratis client RPC request timeout, so the first attempt can complete. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-17883 ## How was this patch tested? Intermittent test check, 100x each, average run time: | | Before | After | |-----------------------------------|--------|-------| | TestBlockOutputStreamWithFailures | 482s | 293s | | TestFailureHandlingByClient | 193s | 113s | - TestBlockOutputStreamWithFailures, 0 failures in both: [before](https://github.com/chihsuan/ozone/actions/runs/44897950695), [after](https://github.com/chihsuan/ozone/actions/runs/44982456108) - TestFailureHandlingByClient, 7 failures in both, all in `testDatanodeExclusionWithMajorityCommit` (HDDS-13972): [before](https://github.com/chihsuan/ozone/actions/runs/44900047919), [after](https://github.com/chihsuan/ozone/actions/runs/44897495867) - TestMultiBlockWritesWithDnFailures, 80 of 80 passed, 2 splits failed to download Maven dependencies: [after](https://github.com/chihsuan/ozone/actions/runs/44982460380) - build-branch: https://github.com/chihsuan/ozone/actions/runs/44989851385 PR description generated-by: Claude Code (Claude 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]
