-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
[CI] RetryableActionTests testRetryableActionTimeout failing #76165
Comments
Pinging @elastic/es-core-infra (Team:Core/Infra) |
I've muted the test on |
Stepping through this during core/infra fix it meeting, it seems related to #74940. In It is retried twice, on
So the two delays calculated are: |
Currently the retry delays can grow significantly beyond the timeout in the retryable action. This has surfaced itself in tests. This commit improves the situation by only allowing a retry to be scheduled 20% beyond the configured timeout. Additionally, it allows a max delay bound parameter to be passed which will limit the max bound that can occur during exponential backoffs. Fixes #76165.
Build scan:
https://gradle-enterprise.elastic.co/s/bnq7vzq6jsmda/tests/:server:test/org.elasticsearch.action.support.RetryableActionTests/testRetryableActionTimeout
Reproduction line:
gradlew ':server:test' --tests "org.elasticsearch.action.support.RetryableActionTests.testRetryableActionTimeout" -Dtests.seed=30262AAAB4F0DFBB -Dtests.locale=he-IL -Dtests.timezone=Etc/UCT -Druntime.java=11
Applicable branches:
master
Reproduces locally?:
Yes
Failure history:
https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.action.support.RetryableActionTests&tests.test=testRetryableActionTimeout
Failure excerpt:
The text was updated successfully, but these errors were encountered: