[
https://issues.apache.org/jira/browse/HDDS-5720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephen O'Donnell updated HDDS-5720:
------------------------------------
Summary: Reuse mini-clusters in TestOzoneFileInterfaces (was: Re-use
mini-clusters in TestOzoneFileInterfaces)
> Reuse mini-clusters in TestOzoneFileInterfaces
> ----------------------------------------------
>
> Key: HDDS-5720
> URL: https://issues.apache.org/jira/browse/HDDS-5720
> Project: Apache Ozone
> Issue Type: Improvement
> Components: test
> Affects Versions: 1.2.0
> Reporter: Stephen O'Donnell
> Assignee: Stephen O'Donnell
> Priority: Major
>
> TestOzoneFileInterfaces currently takes about 563 seconds to run:
> ```
> [INFO] Running org.apache.hadoop.fs.ozone.TestOzoneFileInterfaces
> Warning: Tests run: 18, Failures: 0, Errors: 0, Skipped: 2, Time elapsed:
> 563.677 s - in org.apache.hadoop.fs.ozone.TestOzoneFileInterfaces
> ```
> It can be changed quite easily to re-use the same mini-cluster across many
> tests, saving a lot of run time.
> On my laptop, after this change, it runs in less than 60 seconds.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]