-
Notifications
You must be signed in to change notification settings - Fork 910
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
[Test] migrate-junit5-client-module and parameterized beforeEach #4518
base: master
Are you sure you want to change the base?
[Test] migrate-junit5-client-module and parameterized beforeEach #4518
Conversation
fb12e3c
to
f0e8158
Compare
@shoothzj please help review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good, can we use four indents in new code of bookkeeper-server/src/test/java/org/apache/bookkeeper/client/HandleFailuresTest.java
?
sure😊 |
f0e8158
to
7968110
Compare
7968110
to
66add87
Compare
reopen's reason: rerun failure checks |
CI is failing:
|
Main Issue: #4322
1. why parameterized beforeEach
Because the current version of Junit 5 does not support class-level parameterized, related links,We can achieve the same effect by beforeEach。
2. Short-term solutions(this pr)
Refer to this post custom ParameterResolver and beforeEach implementations class-level parameterized
3. Long-term solutions
Keep up with the Junit5 community, and when Junit5 supports class-level parameterized, go with the official Junit5 way!
Test results