You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Stephen O'Donnell (Jira)" <ji...@apache.org> on 2021/09/06 11:57:00 UTC
[jira] [Created] (HDDS-5717) Refactor TestOzoneManagerListVolumes
to resuse mini-ozone clusters
Stephen O'Donnell created HDDS-5717:
---------------------------------------
Summary: 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
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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org