Stephen O'Donnell created HDDS-5751:
---------------------------------------

             Summary: Use Mini Cluster Provider to speed up TestHDDSUpgrade
                 Key: HDDS-5751
                 URL: https://issues.apache.org/jira/browse/HDDS-5751
             Project: Apache Ozone
          Issue Type: Improvement
    Affects Versions: 1.2.0
            Reporter: Stephen O'Donnell
            Assignee: Stephen O'Donnell


TestHDDSUpgrade is one of the longest running test suits as it creates many 
mini-clusters:

{code}
[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
{code}

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 ? to 5min 12s.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to