FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: fix flaky http2 socket proxy destroy test by pimterry · Pull Request #64673 · nodejs/node · GitHub

/ node Public

test: fix flaky http2 socket proxy destroy test - #64673

Merged
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
pimterry:h2-socket-proxy-flake
Jul 23, 2026
Merged

test: fix flaky http2 socket proxy destroy test#64673
nodejs-github-bot merged 1 commit into
nodejs:mainfrom
pimterry:h2-socket-proxy-flake

Conversation

Copy link
Copy Markdown
Member

Fix a flaky test (failing yesterday) introduced recently in #64427.

This is effectively two tests running in parallel against a single server. The second test shuts down the server when it finishes, assuming that this means everything is done, but if the first test runs slowly it may not complete before that happens.

Adding a setTimeout manually around the first test block to simulate this recreates the same error as in CI.

Nice easy fix: use a Countdown to wait for both tests before closing the server, so there's no interdependency.

Signed-off-by: Tim Perry <pimterry@gmail.com>
pimterry requested a review from mcollina July 22, 2026 10:53
pimterry added the flaky-test Issues and PRs related to the tests with unstable failures on the CI. label Jul 22, 2026
nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Jul 22, 2026

mcollina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

lgtm

good catch

mcollina added fast-track PRs that do not need to wait for 48 hours to land. request-ci Add this label to start a Jenkins CI on a PR. labels Jul 22, 2026

Copy link
Copy Markdown
Contributor

Fast-track has been requested by @mcollina. Please 👍 to approve.

github-actions Bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown
Collaborator

pimterry added the commit-queue Add this label to land a pull request using GitHub Actions. label Jul 23, 2026
nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Jul 23, 2026
nodejs-github-bot merged commit 82c823e into nodejs:main Jul 23, 2026
98 of 103 checks passed

Copy link
Copy Markdown
Collaborator

Landed in 82c823e

aduh95 pushed a commit that referenced this pull request Jul 30, 2026
Signed-off-by: Tim Perry <pimterry@gmail.com>
PR-URL: #64673
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
aduh95 pushed a commit that referenced this pull request Aug 6, 2026
Signed-off-by: Tim Perry <pimterry@gmail.com>
PR-URL: #64673
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fast-track PRs that do not need to wait for 48 hours to land. flaky-test Issues and PRs related to the tests with unstable failures on the CI. needs-ci PRs that need a full CI run. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL