sodonnel opened a new pull request #2615: URL: https://github.com/apache/ozone/pull/2615
## What changes were proposed in this pull request? TestOzoneManagerListVolumes takes about 215 seconds to run, as it has several tests, and each tests creates a new mini-cluster: [INFO] Running org.apache.hadoop.ozone.om.TestOzoneManagerListVolumes [INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 215.633 s - in org.apache.hadoop.ozone.om.TestOzoneManagerListVolumes We can refactor the test to use the same Mini-Cluster and just restart the OM component between each test, saving a lot of time. Note that this requires a small change in the OzoneManagerImpl class too. On my laptop the runtime went from 176 seconds -> 20 seconds. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-5717 ## How was this patch tested? Existing tests and a changes to 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]
