Skip to content

HDDS-9471. Speed up TestOzoneSnapshotRestore#5452

Merged
adoroszlai merged 1 commit intoapache:masterfrom
adoroszlai:HDDS-9471
Oct 17, 2023
Merged

HDDS-9471. Speed up TestOzoneSnapshotRestore#5452
adoroszlai merged 1 commit intoapache:masterfrom
adoroszlai:HDDS-9471

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Launch a single cluster for all tests in TestOzoneSnapshotRestore instead of one per test.

https://issues.apache.org/jira/browse/HDDS-9471

How was this patch tested?

Before:

[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 154.597 s - in org.apache.hadoop.ozone.om.snapshot.TestOzoneSnapshotRestore

After:

[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 41.952 s - in org.apache.hadoop.ozone.om.snapshot.TestOzoneSnapshotRestore

https://github.com/adoroszlai/hadoop-ozone/actions/runs/6537079445

@adoroszlai adoroszlai self-assigned this Oct 16, 2023
@adoroszlai
Copy link
Contributor Author

@jyotirmoy-gh please review

Copy link
Contributor

@hemantk-12 hemantk-12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me.

Thanks for the change @adoroszlai

@adoroszlai adoroszlai merged commit f3d7311 into apache:master Oct 17, 2023
@adoroszlai adoroszlai deleted the HDDS-9471 branch October 17, 2023 19:59
@adoroszlai
Copy link
Contributor Author

Thanks @hemantk-12 for the review.

ibrusentsev pushed a commit to ibrusentsev/ozone that referenced this pull request Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants