chihsuan opened a new pull request, #11728: URL: https://github.com/apache/ozone/pull/11728
## What changes were proposed in this pull request? The test stops one OM and sends a read right away. If the stopped OM was the leader, the other two OMs need a moment to pick a new one. Sometimes the client gives up before that happens, and the test fails with "Leader is unknown". This patch waits for the new leader before sending the read, same as HDDS-16843 did for the sibling test. The client still starts on the stopped OM, so the test still checks the failover. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-17405 ## How was this patch tested? - Made the failure happen every time locally by letting the client retry less. It failed without the fix and passed with it. - 10x10 [flaky-test-check](https://github.com/chihsuan/ozone/actions/runs/40050527534) for the whole class: passed 100/100. 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]
