Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

Commit

Permalink
test: remove process.exit which leaves named pipe hanging
Browse files Browse the repository at this point in the history
  • Loading branch information
jBarz committed Feb 1, 2017
1 parent 57a4961 commit 5580a10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/simple/test-cluster-http-pipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ if (cluster.isMaster) {
assert.equal(msg, 'DONE');
ok = true;
});
/*
worker.on('exit', function() {
process.exit();
});
*/
process.on('exit', function() {
assert(ok);
});
Expand Down

0 comments on commit 5580a10

Please sign in to comment.