[
https://issues.apache.org/jira/browse/HDDS-2377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bharat Viswanadham resolved HDDS-2377.
--------------------------------------
Fix Version/s: 0.5.0
Resolution: Fixed
> Speed up TestOzoneManagerHA#testOMRetryProxy and #testTwoOMNodesDown
> --------------------------------------------------------------------
>
> Key: HDDS-2377
> URL: https://issues.apache.org/jira/browse/HDDS-2377
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Reporter: Siyao Meng
> Assignee: Siyao Meng
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.5.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Marton's comment:
> https://github.com/apache/hadoop-ozone/pull/30#pullrequestreview-302465440
> Out of curiosity, I ran entire TestOzoneManagerHA locally. The entire test
> class finished in 10m 30s. I discovered {{testOMRetryProxy}} and
> {{testTwoOMNodesDown}} are taking the most time (2m and 2m 30s respectively)
> to finish. Most time are wasted on retry and wait. We could reasonably reduce
> the amount of time on the wait.
> As I tested, with the patch, {{testOMRetryProxy}} and {{testTwoOMNodesDown}}
> finish in 20 sec each, saving almost 4 min runtime on those two tests alone.
> The whole TestOzoneManagerHA test finishes in 5m 44s with the patch.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]