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-3400. Extract test utilities to separate module #837

Closed
wants to merge 2 commits into from

Conversation

adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Create hadoop-hdds/test-utils module for test utilities (eg. GenericTestUtils and LambdaTestUtils). This should not depend on any other HDDS/Ozone modules: the goal is to be able to use test listeners defined in this module (currently only TimedOutTestsListener) in all other modules.

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

How was this patch tested?

CI:
https://github.com/adoroszlai/hadoop-ozone/runs/592403416

Applied the addition of listener from #813, verified that no ClassNotFoundException happens.

@adoroszlai adoroszlai self-assigned this Apr 16, 2020
@adoroszlai adoroszlai requested review from elek and smengcl April 17, 2020 06:12
Copy link
Member

@elek elek left a comment

Choose a reason for hiding this comment

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

+1

Thanks for the cleanup @adoroszlai

It opens the door to do some follow-up tasks and remove dependencies on hadoop-common/test-jar and use our own test utils...

Will merge it soon...

@elek elek closed this in 77bb315 Apr 17, 2020
@adoroszlai adoroszlai deleted the HDDS-3400 branch April 17, 2020 10:31
@adoroszlai
Copy link
Contributor Author

Thanks @elek for reviewing and committing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants