test: fix `test-cluster-worker-kill`
authorSantiago Gimeno <santiago.gimeno@gmail.com>
Sun, 20 Mar 2016 20:11:36 +0000 (21:11 +0100)
committerMyles Borins <mborins@us.ibm.com>
Wed, 30 Mar 2016 20:12:17 +0000 (13:12 -0700)
commit0a1eb168e00ee7abd43ada4dc23ea0445b1bf1c9
tree9459060a2db6da1fe1eef3d032c05bd4d1acc8f9
parent86b876fe7b759d9e1c174bd8ad6d5f3f8cd326ac
test: fix `test-cluster-worker-kill`

Don't check that the `disconnect` event is emitted before the `exit`
event as the order is not guaranteed.

PR-URL: https://github.com/nodejs/node/pull/5814
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
test/parallel/test-cluster-worker-kill.js