chihsuan opened a new pull request, #11765:
URL: https://github.com/apache/ozone/pull/11765

   ## What changes were proposed in this pull request?
   
   Each of the 19 test cases in `TestDirectoryDeletingService` starts a 
single-node OM. Every startup waits about 5 seconds for the default Ratis 
election timeout before the OM elects itself.
   
   This PR sets a short first-election timeout in `createConfAndInitValues`. 
Steady-state election timeouts are unchanged. The two test cases that built 
their own configuration now reuse it, so the setting is applied in one place.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-17450
   
   ## How was this patch tested?
   
   The test class time drops from about 205s to 113s locally, and to about 109s 
in CI.
   
   100 iterations passed in the intermittent test check:
   https://github.com/chihsuan/ozone/actions/runs/40168998480
   
   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]

Reply via email to