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-8201. Migrated TestOmSnapshotFileSystem tests to JUnit5. #5518

Merged
merged 4 commits into from
Nov 15, 2023

Conversation

hemantk-12
Copy link
Contributor

@hemantk-12 hemantk-12 commented Oct 31, 2023

What changes were proposed in this pull request?

This change is to migrate TestOmSnapshotFileSystem tests from JUnit-4 to JUnit-5. Changed the cluster setup to only once at class level as suggested in #4740.

What is the link to the Apache JIRA

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

How was this patch tested?

Ran the unit test locally and workflow run. Test run time after the change around 80 secs.

[INFO] Running org.apache.hadoop.ozone.om.TestOmSnapshotFileSystem
[INFO] Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 80.806 s - in org.apache.hadoop.ozone.om.TestOmSnapshotFileSystem

@hemantk-12 hemantk-12 added test snapshot https://issues.apache.org/jira/browse/HDDS-6517 labels Oct 31, 2023
Copy link
Contributor

@prashantpogde prashantpogde left a comment

Choose a reason for hiding this comment

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

Thanks for the changes @hemantk-12. Looks good to me.

Copy link
Contributor

@swamirishi swamirishi left a comment

Choose a reason for hiding this comment

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

@hemantk-12 Thanks for the patch.

Copy link
Member

@aswinshakil aswinshakil left a comment

Choose a reason for hiding this comment

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

Thanks for the patch @hemantk-12. LGTM+1. Minor nit inline.

@hemantk-12 hemantk-12 merged commit e9867d8 into apache:master Nov 15, 2023
24 checks passed
@hemantk-12
Copy link
Contributor Author

Thanks for the review @prashantpogde @aswinshakil and @swamirishi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
snapshot https://issues.apache.org/jira/browse/HDDS-6517 test
Projects
None yet
5 participants