Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
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
test: fix flaky test-cluster-shared-leak
Swallow EPIPE as there is it is expected to come up from time to time.
This does not invalidate the test.

Fixes: #3956
PR-URL: #4173
  • Loading branch information
Trott committed Dec 29, 2015
commit e962bade1898c2706337730121645f72e4243241
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