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-10115. Migrate MetricsAsserts to AssertJ #5987

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

MetricsAsserts from Hadoop is used in several Ozone unit/integration tests. It is implemented using JUnit4 assertions. This change copies MetricsAsserts and migrates it to AssertJ.

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

How was this patch tested?

CI:
https://github.com/adoroszlai/ozone/actions/runs/7493842744

@adoroszlai adoroszlai self-assigned this Jan 11, 2024
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.

Thanks @adoroszlai for the patch.

LGTM.

Copy link
Contributor

@kerneltime kerneltime left a comment

Choose a reason for hiding this comment

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

Nit: Might be useful to mention that the new file is mostly a copy paste of Hadoop dependency.

@adoroszlai adoroszlai merged commit f42334b into apache:master Jan 12, 2024
34 checks passed
@adoroszlai adoroszlai deleted the HDDS-10115 branch January 12, 2024 05:03
@adoroszlai
Copy link
Contributor Author

adoroszlai commented Jan 12, 2024

Thanks @hemantk-12, @kerneltime for the review (and for re-running CI).

Nit: Might be useful to mention that the new file is mostly a copy paste of Hadoop dependency.

Fair point, I'll add it to the javadoc comment in my next PR.

swamirishi pushed a commit to swamirishi/ozone that referenced this pull request Jun 10, 2024
(cherry picked from commit f42334b)

Change-Id: Iac61af24287ec673ad5ea8604639dd15d1693071
xichen01 pushed a commit to xichen01/ozone that referenced this pull request Jul 26, 2024
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.

3 participants