Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: simplify test-http2-client-promisify-connect-error #57144

Conversation

lpinca
Copy link
Member

@lpinca lpinca commented Feb 20, 2025

There is no need to try to create a TCP connection that fails due to a
missing listening server. Also, the port used for the connection might
be used by another process when the connection is made.

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. test Issues and PRs related to the tests. labels Feb 20, 2025
@lpinca
Copy link
Member Author

lpinca commented Feb 20, 2025

The first commit is from #57135.

@lpinca lpinca force-pushed the simply/test-http2-client-promisify-connect-error branch from 2a147c9 to 03aa1f6 Compare February 20, 2025 09:35
Copy link

codecov bot commented Feb 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.36%. Comparing base (8fc919d) to head (42a53b8).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #57144      +/-   ##
==========================================
+ Coverage   90.35%   90.36%   +0.01%     
==========================================
  Files         629      629              
  Lines      184308   184308              
  Branches    36015    36009       -6     
==========================================
+ Hits       166532   166551      +19     
- Misses      10909    10911       +2     
+ Partials     6867     6846      -21     

see 26 files with indirect coverage changes

@lpinca lpinca added the request-ci Add this label to start a Jenkins CI on a PR. label Feb 20, 2025
@aduh95 aduh95 removed the request-ci Add this label to start a Jenkins CI on a PR. label Feb 20, 2025
@aduh95
Copy link
Contributor

aduh95 commented Feb 20, 2025

Let's wait for #57135 to land before running CI as we'd have to rebase anyway

@nodejs-github-bot
Copy link
Collaborator

There is no need to try to create a TCP connection that fails due to a
missing listening server. Also, the port used for the connection might
be used by another process when the connection is made.
@lpinca lpinca force-pushed the simply/test-http2-client-promisify-connect-error branch from 03aa1f6 to 42a53b8 Compare February 21, 2025 11:44
@lpinca lpinca added the request-ci Add this label to start a Jenkins CI on a PR. label Feb 21, 2025
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Feb 21, 2025
@nodejs-github-bot
Copy link
Collaborator

@aduh95 aduh95 added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Feb 21, 2025
@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@aduh95 aduh95 added the commit-queue Add this label to land a pull request using GitHub Actions. label Feb 22, 2025
@nodejs-github-bot nodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Feb 22, 2025
@nodejs-github-bot nodejs-github-bot merged commit ba8fbf3 into nodejs:main Feb 22, 2025
61 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in ba8fbf3

@lpinca lpinca deleted the simply/test-http2-client-promisify-connect-error branch February 22, 2025 09:43
acidiney pushed a commit to acidiney/node that referenced this pull request Feb 23, 2025
There is no need to try to create a TCP connection that fails due to a
missing listening server. Also, the port used for the connection might
be used by another process when the connection is made.

PR-URL: nodejs#57144
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
targos pushed a commit that referenced this pull request Feb 24, 2025
There is no need to try to create a TCP connection that fails due to a
missing listening server. Also, the port used for the connection might
be used by another process when the connection is made.

PR-URL: #57144
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
targos pushed a commit that referenced this pull request Feb 25, 2025
There is no need to try to create a TCP connection that fails due to a
missing listening server. Also, the port used for the connection might
be used by another process when the connection is made.

PR-URL: #57144
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. 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