test: fix flaky test-cluster-shared-leak · nodejs/node@74a703d · GitHub
Skip to content

Commit 74a703d

Browse files
claudiorodriguezjasnell
authored andcommitted
test: fix flaky test-cluster-shared-leak
Test was flaky on centos7-64 due to an uncaught ECONNRESET on the worker code. This catches the error so the process will exit with code 0. Fixes: #5604 PR-URL: #5802 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent b929988 commit 74a703d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

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

Lines changed: 5 additions & 0 deletions

0 commit comments

Comments
 (0)