test: fix flaky cluster-disconnect-race
authorBrian White <mscdex@mscdex.net>
Mon, 28 Dec 2015 21:58:24 +0000 (16:58 -0500)
committerMyles Borins <mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:38 +0000 (11:52 -0800)
commitc4eeb88ba1ec45b7b934917ff855509ba3b5323a
treebc7f163244d5c85a26cee0e5659f1c4f6aeca08c
parent82cbfcdcbe981564efa9ac3c51df1c92f135ae8c
test: fix flaky cluster-disconnect-race

On single core Windows systems, process.send() would cause an
EPIPE because of the ordering of the IPC channel disconnect and
the process.send().

The test was originally only relevant for non-Windows platforms,
so this commit merely skips the test on Windows.

Fixes: https://github.com/nodejs/node/issues/4450
PR-URL: https://github.com/nodejs/node/pull/4457
Reviewed-By: Rich Trott <rtrott@gmail.com>
test/parallel/test-cluster-disconnect-race.js