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/07 10:29:00 UTC
[jira] [Created] (HDDS-5720) Re-use mini-clusters in
TestOzoneFileInterfaces
Stephen O'Donnell created HDDS-5720:
---------------------------------------
Summary: Re-use 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
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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org