test: fix flaky test-cluster-shared-leak
authorRich Trott <rtrott@gmail.com>
Fri, 1 Jan 2016 21:26:23 +0000 (13:26 -0800)
committerMyles Borins <mborins@us.ibm.com>
Mon, 15 Feb 2016 19:30:23 +0000 (11:30 -0800)
commitec24d3767b8db3c4099e8a529acacc99f0374f5c
treedc0d1e92db1c7c7943f778aa25adda4aa04bde68
parentb8213ba7e16a1833768bb6aeadab7db89e3dedbd
test: fix flaky test-cluster-shared-leak

Wait for worker2 to come online before doing anything that might result
in an EPIPE. Fixes flakiness of test on Windows.

Fixes: https://github.com/nodejs/node/issues/3956
PR-URL: https://github.com/nodejs/node/pull/4510
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: James M Snell<jasnell@gmail.com>
test/parallel/parallel.status
test/parallel/test-cluster-shared-leak.js