Skip to content

Commit e962bad

Browse files
committed
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: nodejs#3956 PR-URL: nodejs#4173
1 parent fd551c3 commit e962bad

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

test/parallel/parallel.status

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ prefix parallel
77
[true] # This section applies to all platforms
88

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

test/parallel/test-cluster-shared-leak.js

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ if (cluster.isMaster) {
1818
conn = net.connect(common.PORT, common.mustCall(function() {
1919
worker1.send('die');
2020
worker2.send('die');
21+
worker2.on('error', function(e) {});
2122
}));
2223
conn.on('error', function(e) {
2324
// ECONNRESET is OK

0 commit comments

Comments
 (0)