Skip to content

Conversation

@joyeecheung
Copy link
Member

@joyeecheung joyeecheung commented Mar 10, 2017

  • Test different handle and fd
  • Test listen without callback

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), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

test, net

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Mar 10, 2017
@joyeecheung joyeecheung force-pushed the listen-options-test branch from 3eca24b to cc696a7 Compare March 10, 2017 01:56
@joyeecheung
Copy link
Member Author

joyeecheung commented Mar 10, 2017

CI: https://ci.nodejs.org/job/node-test-pull-request/6786/
Got some errors on windows-fanned, dump the error number in message and try again..https://ci.nodejs.org/job/node-test-pull-request/6787/

@mscdex mscdex added the net Issues and PRs related to the net subsystem. label Mar 10, 2017
@joyeecheung joyeecheung force-pushed the listen-options-test branch from a0f61e3 to e5458f9 Compare March 10, 2017 03:28
@joyeecheung joyeecheung force-pushed the listen-options-test branch from 4030d1b to 7b65fa6 Compare March 10, 2017 04:48
@joyeecheung joyeecheung changed the title test: add more test cases of server.listen option [WIP] test: add more test cases of server.listen option Mar 10, 2017
@joyeecheung
Copy link
Member Author

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

@joyeecheung
Copy link
Member Author

joyeecheung commented Mar 10, 2017

Got rid of errors on windows (forgot there is no support for server.listen({fd: n}) on Windows per the docs, hence neither server.listen(pipeHandle))..

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.

@joyeecheung joyeecheung changed the title [WIP] test: add more test cases of server.listen option test: add more test cases of server.listen option Mar 10, 2017
@joyeecheung
Copy link
Member Author

@joyeecheung
Copy link
Member Author

Landed in 474e9d6, thanks!

joyeecheung added a commit that referenced this pull request Mar 16, 2017
* 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]>
jungx098 pushed a commit to jungx098/node that referenced this pull request Mar 21, 2017
* 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]>
@italoacasas
Copy link

This PR need backport to v7

@joyeecheung
Copy link
Member Author

Depends on #11693, opening a backport PR...

joyeecheung added a commit to joyeecheung/node that referenced this pull request Apr 11, 2017
* Test listening with different handle and fd
* Test listening without callback

PR-URL: nodejs#11778
@joyeecheung joyeecheung self-assigned this Oct 17, 2017
@joyeecheung joyeecheung removed their assignment Nov 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

net Issues and PRs related to the net subsystem. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants