Skip to content
Closed
Changes from 1 commit
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
Next Next commit
test: fix flaky test-child-process-fork-net
Patch inspired on 397eceb to fix
flakyness on test-child-process-fork-net.

Ref: #20973
  • Loading branch information
Matheus Marchini committed May 29, 2018
commit bd3dc9d1c3e883ad70fcf40270bc6f14d0951ea7
5 changes: 4 additions & 1 deletion test/parallel/test-child-process-fork-net.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,10 @@ if (process.argv[2] === 'child') {
connect.on('close', function() {
console.log('CLIENT: closed');
assert.strictEqual(store, 'echo');
server.close();
server.close((err) => {
if (err && err.code !== 'EPIPE')
throw err;
});
});
});
}
Expand Down