-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
[FLINK-11181][tests] Fix SimpleRecoveryFailureRateStrategyITBase test error #7316
Conversation
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.
Thanks for the PR @hequn8128
I only left one suggestion.
Bests,
Jincheng
@@ -59,7 +60,7 @@ public void testFailedRunThenSuccessfulRun() throws Exception { | |||
|
|||
env.generateSequence(1, 10) | |||
.rebalance() | |||
.map(new FailingMapper1<Long>()) |
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.
Add finally reset will work well.
finally {
FailingMapper1.failuresBeforeSuccess = 1;
}
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.
Good suggestion!
@sunjincheng121 Thanks a lot for your review and suggestions. I have updated the code. Best, Hequn |
Thanks for the quick update! @hequn8128 Thanks, Jincheng |
… error This colses apache#7316
… error This colses apache#7316
What is the purpose of the change
This pull request fix
SimpleRecoveryFailureRateStrategyITBase
test error.The configuration has not been passed to the
MiniClusterWithClientResource
.Brief change log
MiniClusterWithClientResource
.Verifying this change
This change is already covered by existing tests, such as (please describe tests).
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: (no)Documentation