Commit b2c5479a authored by Rich Trott's avatar Rich Trott Committed by Rod Vagg
Browse files

test: refactor to eliminate flaky test

This retains the key elements of test-child-process-fork-getconnections
(forks a child process, sends a bunch of sockets, uses getConnections()
to enumerate them) but contains some code to work around an apparent
intermittent bug that occurs on OS X where a socket seems to close
itself unexpectedly.

https://github.com/nodejs/node/issues/2610 was opened for the bug that
was causing the problem in the first place.

PR-URL: https://github.com/nodejs/node/pull/2609
Fixes: https://github.com/nodejs/node/issues/1100


Reviewed-By: default avatarjbergstroem - Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: default avatarBrendan Ashworth <brendan.ashworth@me.com>
parent 89294456
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment