Commit Graph

2 Commits

Author SHA1 Message Date
cjihrig
06757cd0dc test: cover dgram handle send failures
This commit adds test coverage for the case where a dgram socket
successfully binds, but the handle's send() function fails.

PR-URL: https://github.com/nodejs/node/pull/13158
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2017-05-25 14:00:33 -04:00
cjihrig
b32ae9e74d test: add coverage for dgram send() errors
This commit adds code coverage for emitted and callback errors
for dgram's Socket#send() method.

PR-URL: https://github.com/nodejs/node/pull/11248
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
2017-02-10 16:34:32 -05:00