Skip to content

Commit

Permalink
test: fix flaky test-cluster-shared-leak
Browse files Browse the repository at this point in the history
Swallow EPIPE as there is it is expected to come up from time to time.
This does not invalidate the test.

Fixes: nodejs#3956
PR-URL: nodejs#4173
  • Loading branch information
Trott committed Dec 29, 2015
1 parent fd551c3 commit e962bad
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion test/parallel/parallel.status
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ prefix parallel
[true] # This section applies to all platforms

[$system==win32]
test-cluster-shared-leak : PASS,FLAKY
test-debug-no-context : PASS,FLAKY
test-tls-ticket-cluster : PASS,FLAKY

Expand Down
1 change: 1 addition & 0 deletions test/parallel/test-cluster-shared-leak.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ if (cluster.isMaster) {
conn = net.connect(common.PORT, common.mustCall(function() {
worker1.send('die');
worker2.send('die');
worker2.on('error', function(e) {});
}));
conn.on('error', function(e) {
// ECONNRESET is OK
Expand Down

0 comments on commit e962bad

Please sign in to comment.