We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
EnableRetryWithBackoffTests.randomExponential:77 [Wrong periods: %s[1000, 1124]] Expecting value to be true but was false
The text was updated successfully, but these errors were encountered:
According to the report it turns out that our random logic in the ExponentialRandomBackOffPolicy:
ExponentialRandomBackOffPolicy
next = (long) (next * (1 + r.nextFloat() * (getMultiplier() - 1)));
Accidentally ended up with with 1. Therefore 1000 * 1 = 1000 😄
1
1000 * 1 = 1000
Fixing test respectively to include that possibility.
Sorry, something went wrong.
a9b329a
artembilan
No branches or pull requests
The text was updated successfully, but these errors were encountered: