diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2015-03-29 20:09:22 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2015-03-30 00:29:28 +0200 |
commit | 8d1c87ea0a0534d42938f1f8804c48cf6599f617 (patch) | |
tree | 3136392edd9bc78b5a5d0f88a940c94f0388a2a3 /deps | |
parent | ea37ac04f4e4e9248fb361d65a3cd69f57bcaba1 (diff) | |
download | node-new-8d1c87ea0a0534d42938f1f8804c48cf6599f617.tar.gz |
test: fix race in parallel/test-vm-debug-context
Fix a race condition in parallel/test-vm-debug-context where the 'exit'
event for the child process is emitted before the first and only 'data'
event for the child process's stderr stream.
I considered deferring the 'exit' event in lib/child_process.js until
all stdio streams have been closed but I realized that's not going to
work when the child process spins off grandchildren that keep the stdio
file descriptors alive.
Fixes: https://github.com/iojs/io.js/issues/1291
PR-URL: https://github.com/iojs/io.js/pull/1294
Reviewed-By: Brendan Ashworth <brendan.ashworth@me.com>
Diffstat (limited to 'deps')
0 files changed, 0 insertions, 0 deletions