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: cover cluster error during dgram socket bind #11295

Merged
merged 1 commit into from
Feb 13, 2017

Conversation

cjihrig
Copy link
Contributor

@cjihrig cjihrig commented Feb 10, 2017

When a non-exclusive dgram socket is bound from a cluster worker, a handle is requested from the cluster module. This commit adds coverage for the case where an error occurs while retrieving the handle.

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

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Feb 10, 2017
@mscdex mscdex added the dgram Issues and PRs related to the dgram subsystem / UDP. label Feb 10, 2017
@cjihrig
Copy link
Contributor Author

cjihrig commented Feb 13, 2017

When a non-exclusive dgram socket is bound from a cluster
worker, a handle is requested from the cluster module. This
commit adds coverage for the case where an error occurs while
retrieving the handle.

PR-URL: nodejs#11295
Reviewed-By: James M Snell <jasnell@gmail.com>
@cjihrig cjihrig merged commit d3be0f8 into nodejs:master Feb 13, 2017
@cjihrig cjihrig deleted the dgram-cluster-bind-error branch February 13, 2017 18:33
italoacasas pushed a commit to italoacasas/node that referenced this pull request Feb 14, 2017
When a non-exclusive dgram socket is bound from a cluster
worker, a handle is requested from the cluster module. This
commit adds coverage for the case where an error occurs while
retrieving the handle.

PR-URL: nodejs#11295
Reviewed-By: James M Snell <jasnell@gmail.com>
@jasnell
Copy link
Member

jasnell commented Mar 9, 2017

Requires common.mustNotCall, needs a backport to land on either v6 or v4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dgram Issues and PRs related to the dgram subsystem / UDP. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants