Skip to content

test: stabilize pipelining shutdown test with controlled close timing#6099

Merged
Eomm merged 1 commit intofastify:mainfrom
jean-michelet:fix/flaky-test
May 2, 2025
Merged

test: stabilize pipelining shutdown test with controlled close timing#6099
Eomm merged 1 commit intofastify:mainfrom
jean-michelet:fix/flaky-test

Conversation

@jean-michelet
Copy link
Copy Markdown
Member

Saw this test failing several time in the CI.
famous-flaky

@jean-michelet jean-michelet requested a review from mcollina May 1, 2025 14:10
Copy link
Copy Markdown
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@Fdawgs Fdawgs requested a review from Copilot May 2, 2025 07:31
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR aims to stabilize a flaky pipelining shutdown test by adjusting the way response statuses are validated.

  • Replace fixed index assertions with dynamic filtering of fulfilled and rejected responses.
  • Improve test resilience against order changes in the responses array.

@Eomm Eomm added the test Issue or pr related to our testing infrastructure. label May 2, 2025
@Eomm Eomm merged commit 08fdb54 into fastify:main May 2, 2025
34 checks passed
jean-michelet added a commit to jean-michelet/fastify that referenced this pull request May 3, 2025
@jean-michelet jean-michelet deleted the fix/flaky-test branch May 9, 2025 19:06
@github-actions
Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

test Issue or pr related to our testing infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants