0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/test
Sam Roberts 03ce84dfa1 test: fix cluster-worker-wait-server-close races
Wait for data to arrive from worker before doing a disconnect. Without
this, whether the disconnect arrives at the worker before the master
accepts and forwards the connection descriptor to the worker is a race.

Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Rod Vagg <rod@vagg.org>
PR-URL: https://github.com/nodejs/io.js/pull/1953
Fixes: https://github.com/nodejs/io.js/issues/1933
Fixes: https://github.com/nodejs/io.js/pull/1400
2015-06-12 12:56:40 -07:00
..
addons test: remove smalloc add-on test 2015-06-01 23:17:52 +02:00
cctest deps: check in gtest, add util unit test 2015-04-01 22:35:56 +02:00
debugger debugger: improve ESRCH error message 2015-06-05 05:54:19 +02:00
disabled test: enable linting for tests 2015-05-19 21:21:27 +02:00
fixtures test: create temp dir in common.js 2015-06-12 10:27:29 +10:00
gc test: enable linting for tests 2015-05-19 21:21:27 +02:00
internet test: enable linting for tests 2015-05-19 21:21:27 +02:00
message test: remove stray copyright notices 2015-05-26 17:17:40 +02:00
parallel test: fix cluster-worker-wait-server-close races 2015-06-12 12:56:40 -07:00
pummel test: fix undeclared variable access 2015-06-11 20:22:51 +02:00
sequential test: create temp dir in common.js 2015-06-12 10:27:29 +10:00
testpy test: create temp dir in common.js 2015-06-12 10:27:29 +10:00
timers test: enable linting for tests 2015-05-19 21:21:27 +02:00
.eslintrc tools: enable/add additional eslint rules 2015-06-11 20:27:35 +02:00
common.js test: create temp dir in common.js 2015-06-12 10:27:29 +10:00