Skip to content

fix: use relative timeout threshold in graceful shutdown test#286

Merged
jongio merged 1 commit into
mainfrom
fix/flaky-graceful-shutdown-test
May 19, 2026
Merged

fix: use relative timeout threshold in graceful shutdown test#286
jongio merged 1 commit into
mainfrom
fix/flaky-graceful-shutdown-test

Conversation

@jongio
Copy link
Copy Markdown
Owner

@jongio jongio commented May 19, 2026

Fixes flaky TestStopServiceGraceful_Success that failed on loaded systems (took 7.2s, hardcoded 6s threshold with 5s timeout). Now uses 2x the timeout constant as max expected duration.

The test was comparing against a hardcoded 6s threshold while using a 5s
timeout constant. On loaded systems this caused flaky failures. Now uses
2x the timeout constant as the max expected duration.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jongio jongio merged commit d770082 into main May 19, 2026
4 of 6 checks passed
@jongio jongio deleted the fix/flaky-graceful-shutdown-test branch May 19, 2026 22:10
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.

1 participant