test: fix cluster-disconnect-handles flakiness
authorSantiago Gimeno <santiago.gimeno@gmail.com>
Tue, 24 Nov 2015 20:39:24 +0000 (21:39 +0100)
committerJames M Snell <jasnell@gmail.com>
Wed, 23 Dec 2015 16:38:33 +0000 (08:38 -0800)
commitdc126b47a8f7dbf0761397b1ef967a4915c6adda
tree6481d15a62335571a1f7fba84ee8ce3666961bbb
parent434305d4f02eb2ed9fb2ca47f56dfca4b15adb8e
test: fix cluster-disconnect-handles flakiness

Sometimes the test was timing out because the worker process remained
stuck in the breakpoint and didn't exit. This could happen because the
continue was sent before the breakpoint was set. If that's the case,
with this change, a new continue command is sent so the worker process
can end.

PR-URL: https://github.com/nodejs/node/pull/4009
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
test/parallel/test-cluster-disconnect-handles.js