sodonnel opened a new pull request #2662:
URL: https://github.com/apache/ozone/pull/2662


   ## What changes were proposed in this pull request?
   
   Many of the OzoneManager integration tests do not really use SCM or the 
datanodes. Therefore we can skip the safemode check in SCM and start zero 
datanodes to make the mini-cluster come up faster.
   
   With just this change, on my laptop:
   
   ```
   TestOzoneManagerConfiguration went from 6min -> 3min 40s.
   TestOzoneManagerHAMetadataOnly went from 4min 19s -> 1min 9s.
   TestOzoneManagerListVolumes went from 40s -> 20s
   TestOMMetrics went from 2min 6 -> 39s 55s
   ```
   
   The runtime for these tests on Github is:
   
   ```
   [INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
273.591 s - in org.apache.hadoop.ozone.om.TestOzoneManagerConfiguration
   
   Warning: Tests run: 10, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 
363.67 s - in org.apache.hadoop.ozone.om.TestOzoneManagerHAMetadataOnly
   
   [INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
181.937 s - in org.apache.hadoop.ozone.om.TestOmMetrics
   
   [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
50.156 s - in org.apache.hadoop.ozone.om.TestOzoneManagerListVolumes
   ```
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-5766
   
   ## How was this patch tested?
   
   Existing tests.
   


-- 
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