Skip to content

Wait for backoffs instead of sleeping in the invalid request tests - #912

Merged
lejeunerenard merged 1 commit into
mainfrom
deflake-invalid-request-stat
Oct 29, 2026
Merged

lejeunerenard merged 1 commit into
mainfrom
deflake-invalid-request-stat

Conversation

@marcus-pousette-hp

Copy link
Copy Markdown
Contributor

invalidRequest stat slept a fixed 500 ms, but the responder counts the bad request and backs off 200 ms before answering, so slow runners could check backoffs before the answer arrived (hit on macOS + Bare in #810's CI). Both invalid request tests now wait until the backoffs are recorded

Co-authored with AI

@marcus-pousette-hp
marcus-pousette-hp requested a review from a team October 29, 2026 10:05

@lejeunerenard lejeunerenard left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Makes sense that it could flake. Thanks!

@lejeunerenard
lejeunerenard merged commit 76a65fe into main Oct 29, 2026
5 checks passed
@lejeunerenard
lejeunerenard deleted the deflake-invalid-request-stat branch October 29, 2026 15:42
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

Successfully merging this pull request may close these issues.

2 participants