-
Notifications
You must be signed in to change notification settings - Fork 5k
[9.0](backport #43672) [Flaky test] Increase timeout on flaky SQS test #43692
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
Conversation
`TestCancelWithGrace` in `sqs_test.go` has a timer correctness margin of only 5ms. This is much too low for a reliable test, timers are not guaranteed to have that granularity (especially on CI nodes where there are often execution delays). I saw it "failing" a couple times because it expected a duration of 1.0 seconds and instead got 1.006. This PR increases the acceptable margin to 50ms instead of 5. Closes #43668. (cherry picked from commit 7a95d64) # Conflicts: # x-pack/filebeat/input/awss3/sqs_test.go
|
Cherry-pick of 7a95d64 has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
|
Pinging @elastic/obs-ds-hosted-services (Team:obs-ds-hosted-services) |
|
This pull request has not been merged yet. Could you please review and merge it @faec? 🙏 |
1 similar comment
|
This pull request has not been merged yet. Could you please review and merge it @faec? 🙏 |
|
This pull request is now in conflicts. Could you fix it? 🙏 |
|
This pull request has not been merged yet. Could you please review and merge it @faec? 🙏 |
|
@faec Could you please followup with that PR? |
|
This pull request has not been merged yet. Could you please review and merge it @faec? 🙏 |
|
@faec any news here? |
|
This pull request has not been merged yet. Could you please review and merge it @faec? 🙏 |
|
This pull request is now in conflicts. Could you fix it? 🙏 |
TestCancelWithGraceinsqs_test.gohas a timer correctness margin of only 5ms. This is much too low for a reliable test, timers are not guaranteed to have that granularity (especially on CI nodes where there are often execution delays). I saw it "failing" a couple times because it expected a duration of 1.0 seconds and instead got 1.006. This PR increases the acceptable margin to 50ms instead of 5.Closes #43668.
This is an automatic backport of pull request #43672 done by [Mergify](https://mergify.com).