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

RATIS-895. Fix Failed UT: runTestRetryOnStateMachineException #131

Merged
merged 1 commit into from Jun 18, 2020
Merged

RATIS-895. Fix Failed UT: runTestRetryOnStateMachineException #131

merged 1 commit into from Jun 18, 2020

Conversation

runzhiwang
Copy link
Contributor

@runzhiwang runzhiwang commented Jun 18, 2020

What changes were proposed in this pull request?

What's the problem ?
s1 received the request with callid: 999 at 2020-06-18 03:20:56,564, and after only 27ms i.e. 2020-06-18 03:20:56,591 unit test check the retry cache of s1 contain the request with callid: 999. 27ms is too short and s1 has not put the request in the retry cache, so test failed.
image

How to fix ?
Check many times whether the retry cache of s1 contain the request with callid: 999

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/RATIS-895

How was this patch tested?

Existed tests

@runzhiwang runzhiwang closed this Jun 18, 2020
@runzhiwang runzhiwang reopened this Jun 18, 2020
Copy link
Contributor

@bshashikant bshashikant left a comment

Choose a reason for hiding this comment

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

Thanks @runzhiwang for fixing this.

@bshashikant bshashikant merged commit 81b4b80 into apache:master Jun 18, 2020
symious pushed a commit to symious/ratis that referenced this pull request Jan 29, 2024
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