Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
1.2.0
Description
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
Attachments
Issue Links
- links to