Skip to content

Fix flaky integration tests: increase e2e timeouts and retry limits#7306

Draft
Copilot wants to merge 4 commits intomasterfrom
copilot/investigate-flaky-integration-tests
Draft

Fix flaky integration tests: increase e2e timeouts and retry limits#7306
Copilot wants to merge 4 commits intomasterfrom
copilot/investigate-flaky-integration-tests

Conversation

Copy link

Copilot AI commented Mar 1, 2026

What this PR does:

Integration tests are flaky due to overly tight timeouts and insufficient retry budgets in the e2e test framework.

  • GetRequest()/PostRequest() HTTP timeout: 1s → 5s — used by all HTTPReadinessProbe checks and HTTPService.Metrics() polling
  • TCPReadinessProbe dial timeout: 1s → 5s
  • MaxRetries in ConcreteService and CompositeHTTPService: 50 → 100 — doubles the retry window from ~15-30s to ~30-60s

These are the three timeout/retry constants that gate every service readiness check and metrics wait in the integration test suite. The code already had // Sometimes the CI is slow ¯\_(ツ)_/¯ acknowledging the problem.

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

… integration tests

- GetRequest()/PostRequest() HTTP timeout: 1s → 5s
- TCPReadinessProbe dial timeout: 1s → 5s
- MaxRetries for ConcreteService and CompositeHTTPService: 50 → 100

Co-authored-by: CharlieTLe <3375195+CharlieTLe@users.noreply.github.com>
@pull-request-size pull-request-size bot added size/S and removed size/XS labels Mar 1, 2026
Copilot AI and others added 2 commits March 1, 2026 19:24
Co-authored-by: CharlieTLe <3375195+CharlieTLe@users.noreply.github.com>
Co-authored-by: CharlieTLe <3375195+CharlieTLe@users.noreply.github.com>
Copilot AI changed the title [WIP] Investigate issues with flaky integration tests Fix flaky integration tests: increase e2e timeouts and retry limits Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants