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: improve http test reliability #13693

Merged

Conversation

mscdex
Copy link
Contributor

@mscdex mscdex commented Jun 15, 2017

Fake the socket handle to ensure an immediate error is returned uniformly across all platforms.

CI: https://ci.nodejs.org/job/node-test-pull-request/8670/

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
  • http

@mscdex mscdex added http Issues or PRs related to the http subsystem. test Issues and PRs related to the tests. wip Issues and PRs that are still a work in progress. labels Jun 15, 2017
@mscdex mscdex force-pushed the test-http-improve-client-immediate-error branch from 92f7dc6 to 6948503 Compare June 15, 2017 09:03
@mscdex mscdex removed the wip Issues and PRs that are still a work in progress. label Jun 15, 2017
@mscdex mscdex force-pushed the test-http-improve-client-immediate-error branch 2 times, most recently from 24c7713 to 0556dff Compare June 15, 2017 13:57
Fake the socket handle to ensure an immediate error is returned
uniformly across all platforms.

PR-URL: nodejs#13693
Reviewed-By: James M Snell <jasnell@gmail.com>
@mscdex mscdex force-pushed the test-http-improve-client-immediate-error branch from 0556dff to fcd82e7 Compare June 17, 2017 14:44
@mscdex mscdex merged commit fcd82e7 into nodejs:master Jun 17, 2017
@mscdex mscdex deleted the test-http-improve-client-immediate-error branch June 17, 2017 14:45
addaleax pushed a commit that referenced this pull request Jun 18, 2017
Fake the socket handle to ensure an immediate error is returned
uniformly across all platforms.

PR-URL: #13693
Reviewed-By: James M Snell <jasnell@gmail.com>
addaleax pushed a commit that referenced this pull request Jun 20, 2017
Fake the socket handle to ensure an immediate error is returned
uniformly across all platforms.

PR-URL: #13693
Reviewed-By: James M Snell <jasnell@gmail.com>
@addaleax addaleax mentioned this pull request Jun 21, 2017
addaleax pushed a commit that referenced this pull request Jun 21, 2017
Fake the socket handle to ensure an immediate error is returned
uniformly across all platforms.

PR-URL: #13693
Reviewed-By: James M Snell <jasnell@gmail.com>
@addaleax addaleax mentioned this pull request Jun 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
http Issues or PRs related to the http subsystem. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants