We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b32830 commit 9244d6dCopy full SHA for 9244d6d
test/parallel/test-cluster-concurrent-disconnect.js
@@ -29,7 +29,7 @@ if (cluster.isPrimary) {
29
if (common.isOSX) {
30
assert(['EPIPE', 'ENOTCONN'].includes(err.code), err);
31
} else {
32
- assert.strictEqual(err.code, 'EPIPE');
+ assert(['EPIPE', 'ECONNRESET'].includes(err.code), err);
33
}
34
});
35
0 commit comments