Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Addressing Ben's comments
  • Loading branch information
thefourtheye committed Aug 5, 2015
commit df946163dd50dcd80dd1d620c199f4ecfa6fac17
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' });
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be a style error, the arguments don't line up. I have to admit I'm not a big fan of random style changes, they make the diff a lot noisier (and hence harder to read) than it needs to be.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left it as is now.


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