-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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: add more test cases of server.listen option #11778
Conversation
3eca24b
to
cc696a7
Compare
CI: https://ci.nodejs.org/job/node-test-pull-request/6786/ |
a0f61e3
to
e5458f9
Compare
4030d1b
to
7b65fa6
Compare
* Test different handle and fd * Test listen without callback
This doesn't unlink the pipes it creates properly at the moment(so rerun it without refreshing tmpdir would get a EADDRINUSE)..marking as WIP |
Got rid of errors on windows (forgot there is no support for New CI: https://ci.nodejs.org/job/node-test-pull-request/6792/ CentOS failures should be unrelated(dns failures, passed in a previous https://ci.nodejs.org/job/node-test-commit-linux/8380/) @jasnell PTAL, thanks. |
Landed in 474e9d6, thanks! |
* Test listening with different handle and fd * Test listening without callback PR-URL: #11778 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Sam Roberts <[email protected]>
* Test listening with different handle and fd * Test listening without callback PR-URL: nodejs#11778 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Sam Roberts <[email protected]>
This PR need backport to v7 |
Depends on #11693, opening a backport PR... |
* Test listening with different handle and fd * Test listening without callback PR-URL: nodejs#11778
TODO: do the same thing to
socket.connect
,net.connect
to prevent #11761 from happening again (in the test file added in its fix, probably).Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test, net