8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac3b884 commit 3455439Copy full SHA for 3455439
test/parallel/test-net-autoselectfamily-commandline-option.js
@@ -87,6 +87,8 @@ function createDnsServer(ipv6Addr, ipv4Addr, cb) {
87
assert.strictEqual(error.message, `connect ECONNREFUSED ::1:${port}`);
88
} else if (error.code === 'EAFNOSUPPORT') {
89
assert.strictEqual(error.message, `connect EAFNOSUPPORT ::1:${port} - Local (undefined:undefined)`);
90
+ } else if (error.code === 'EUNATCH') {
91
+ assert.strictEqual(error.message, `connect EUNATCH ::1:${port} - Local (:::0)`);
92
} else {
93
assert.strictEqual(error.code, 'EADDRNOTAVAIL');
94
assert.strictEqual(error.message, `connect EADDRNOTAVAIL ::1:${port} - Local (:::0)`);
test/parallel/test-net-autoselectfamily-default.js
@@ -125,10 +125,8 @@ function createDnsServer(ipv6Addr, ipv4Addr, cb) {
125
126
127
128
- } else if (common.isIBMi) {
129
- // IBMi returns EUNATCH (ERRNO 42) when IPv6 is disabled
130
- // keep this errno assertion until EUNATCH is recognized by libuv
131
- assert.strictEqual(error.errno, -42);
132
133
134
test/parallel/test-net-autoselectfamily.js
@@ -282,10 +282,8 @@ if (common.hasIPv6) {
282
283
284
285
286
287
288
289
290
291