New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HDDS-5788. Reduce run time for TestOzoneManagerHA tests #2689
Conversation
...ntegration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHAWithFailover.java
Show resolved
Hide resolved
Thanks @JyotinderSingh for the contribution. It looks to me the TestBlockDeletion failure is unrelated to your change, please re-trigger the build by doing another commit in the PR like,
|
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHA.java
Outdated
Show resolved
Hide resolved
...ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerPrepare.java
Show resolved
Hide resolved
Seems like testOmRestart() is taking long to execute. Adding changes to make it execute on a fresh cluster. |
This seems like an unrelated failure in the client integration-test. Re-triggering CI. |
deb9ef6
to
15a0862
Compare
15a0862
to
21c8d06
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 LGTM
@JyotinderSingh, Good Work! Thanks for the contribution.
What changes were proposed in this pull request?
Currently tests under TestOzoneManagerHA take long to execute since MiniOzoneClusterHA is setting up freshly for each test case.
This is a proposal to spin up a shared MiniOzoneClusterHA for all the tests extending TestOzoneManagerHA, allowing them to reuse the same cluster and not have to spin up a new one every time.
This brings down the cumulative time to run all suites extending TestOzoneManagerHA down from ~720s to ~260s
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5788
Please replace this section with the link to the Apache JIRA)
How was this patch tested?
Manual Testing