[
https://issues.apache.org/jira/browse/HDDS-5717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-5717:
---------------------------------
Labels: pull-request-available (was: )
> Refactor TestOzoneManagerListVolumes to resuse mini-ozone clusters
> ------------------------------------------------------------------
>
> Key: HDDS-5717
> URL: https://issues.apache.org/jira/browse/HDDS-5717
> Project: Apache Ozone
> Issue Type: Improvement
> Components: test
> Affects Versions: 1.2.0
> Reporter: Stephen O'Donnell
> Assignee: Stephen O'Donnell
> Priority: Major
> Labels: pull-request-available
>
> TestOzoneManagerListVolumes takes about 215 seconds to run, as it has several
> tests, and each tests creates a new mini-cluster:
> {code}
> [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
> {code}
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]