You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/09/16 11:02:38 UTC
[GitHub] [ozone] sodonnel opened a new pull request #2650: HDDS-5751. Use Mini Cluster Provider to speed up TestHDDSUpgrade
sodonnel opened a new pull request #2650:
URL: https://github.com/apache/ozone/pull/2650
## What changes were proposed in this pull request?
TestHDDSUpgrade is one of the longest running test suits as it creates many mini-clusters:
```
[INFO] Running org.apache.hadoop.hdds.upgrade.TestHDDSUpgrade
Warning: Tests run: 13, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 694.753 s - in org.apache.hadoop.hdds.upgrade.TestHDDSUpgrade
```
It is not possible to reuse the same clusters across multiple tests here, so we can use the MiniClusterProvider to create the clusters in the background and speed things up.
On my laptop the test runtime went from 9min 14s to 5min 12s.
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5751
## How was this patch tested?
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] sodonnel commented on pull request #2650: HDDS-5751. Use Mini Cluster Provider to speed up TestHDDSUpgrade
Posted by GitBox <gi...@apache.org>.
sodonnel commented on pull request #2650:
URL: https://github.com/apache/ozone/pull/2650#issuecomment-920856579
Update code ran in:
```
[INFO] Running org.apache.hadoop.hdds.upgrade.TestHDDSUpgrade
Warning: Tests run: 13, Failures: 0, Errors: 0, Skipped: 4, Time elapsed: 417.387 s - in org.apache.hadoop.hdds.upgrade.TestHDDSUpgrade
```
Saving 277 seconds.
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] sodonnel merged pull request #2650: HDDS-5751. Use Mini Cluster Provider to speed up TestHDDSUpgrade
Posted by GitBox <gi...@apache.org>.
sodonnel merged pull request #2650:
URL: https://github.com/apache/ozone/pull/2650
--
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: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org