Skip to content
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

Merged
merged 9 commits into from Oct 1, 2021

Conversation

JyotinderSingh
Copy link
Contributor

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

@rakeshadr
Copy link
Contributor

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,

git commit --allow-empty -m ‘trigger new CI check’ && git push

@JyotinderSingh
Copy link
Contributor Author

Seems like testOmRestart() is taking long to execute. Adding changes to make it execute on a fresh cluster.

@JyotinderSingh
Copy link
Contributor Author

This seems like an unrelated failure in the client integration-test. Re-triggering CI.

Copy link
Contributor

@rakeshadr rakeshadr left a 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.

@rakeshadr rakeshadr merged commit 5c2ac71 into apache:master Oct 1, 2021
@JyotinderSingh JyotinderSingh deleted the HDDS-5788 branch October 1, 2021 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants