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
fixup: swallow ECONNRESET
  • Loading branch information
Trott committed Oct 26, 2015
commit 9c0b13117f4f51965692d1b48521566bb0f4a0dd
10 changes: 5 additions & 5 deletions test/parallel/test-cluster-shared-leak.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ if (cluster.isMaster) {
worker1.send('die');
worker2.send('die');
}));
// c.on('error', function(e) {
// // ECONNRESET is OK
// if (e.code !== 'ECONNRESET')
// throw e;
// });
conn.on('error', function(e) {
// ECONNRESET is OK
if (e.code !== 'ECONNRESET')
throw e;
});
}));

cluster.on('exit', function(worker, exitCode, signalCode) {
Expand Down