diff --git a/test/parallel/parallel.status b/test/parallel/parallel.status index 6cdd46635c9310..0171519045315e 100644 --- a/test/parallel/parallel.status +++ b/test/parallel/parallel.status @@ -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 diff --git a/test/parallel/test-cluster-shared-leak.js b/test/parallel/test-cluster-shared-leak.js index a4de1d33a29b8d..41f838a267e7d7 100644 --- a/test/parallel/test-cluster-shared-leak.js +++ b/test/parallel/test-cluster-shared-leak.js @@ -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