[
https://issues.apache.org/jira/browse/HDDS-17450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-17450:
----------------------------------
Labels: pull-request-available (was: )
> Speed up TestDirectoryDeletingService by shortening first OM election
> ---------------------------------------------------------------------
>
> Key: HDDS-17450
> URL: https://issues.apache.org/jira/browse/HDDS-17450
> Project: Apache Ozone
> Issue Type: Improvement
> Components: test
> Reporter: Chi-Hsuan Huang
> Assignee: Chi-Hsuan Huang
> Priority: Major
> Labels: pull-request-available
>
> {{TestDirectoryDeletingService}} takes about 200 seconds. Each of its 19 test
> cases starts a single-node OM via {{OmTestManagers}}. Each startup spends
> about 5 seconds waiting for the default Ratis election timeout before the OM
> elects itself.
> Setting a short first-election timeout for this test cuts the class time from
> about 205s to 113s locally. Steady-state election timeouts are unchanged.
> HDDS-12772 did the same for SCM and datanodes in MiniOzoneCluster. Applying
> it to {{OmTestManagers}} or OM in MiniOzoneCluster could be a follow-up.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]