You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/10/29 14:16:07 UTC

[GitHub] [hadoop-ozone] smengcl opened a new pull request #99: HDDS-2377. Speed up TestOzoneManagerHA#testOMRetryProxy and #testTwoOMNodesDown

smengcl opened a new pull request #99: HDDS-2377. Speed up TestOzoneManagerHA#testOMRetryProxy and #testTwoOMNodesDown
URL: https://github.com/apache/hadoop-ozone/pull/99
 
 
   ## What changes were proposed in this pull request?
   
   Goal: Reduce the time to run TestOzoneManagerHA.
   
   From 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.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-2377
   
   ## How was this patch tested?
   
   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.
   
   All TestOzoneManagerHA tests passed locally.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org