Skip to content

Commit

Permalink
Addressing Ben's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
thefourtheye committed Aug 5, 2015
1 parent 584c40b commit df94616
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions test/parallel/test-cluster-eaccess.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';
// test that errors propagated from cluster workers are properly
// Test that errors propagated from cluster workers are properly
// received in their master. Creates an EADDRINUSE condition by forking
// a process in child cluster and propagates the error to the master.

Expand Down Expand Up @@ -31,15 +31,12 @@ if (cluster.isMaster) {
console.log('master exited');
try {
fs.unlinkSync(common.PIPE);
} catch (ex) {
if (ex.code !== 'ENOENT') {
throw ex;
}
} catch (e) {
}
});

} else {
const cp = fork(common.fixturesDir + '/listen-on-socket-and-exit.js',
var cp = fork(common.fixturesDir + '/listen-on-socket-and-exit.js',
{ stdio: 'inherit' });

// message from the child indicates it's ready and listening
Expand Down

0 comments on commit df94616

Please sign in to comment.