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

RetryTest.testClassLevelRetryMaxDuration margin for error is too tight #569

Open
Joseph-Cass opened this issue Aug 12, 2020 · 0 comments
Open

Comments

@Joseph-Cass
Copy link

The ServiceB() in the method has a 1000ms maxDuration, the default 200ms jitter, and a 100ms Thread.sleep between retries. This means in a worst case scenario the test only has 100ms (1000ms - (200ms + 100ms)*3) to deal with processing time, system writes, and server blips, before executing the minimum required 4 retries for the assert.

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

No branches or pull requests

1 participant