test: allow EAI_FAIL in test-http-dns-error.js
EAI_FAIL
is expected on OpenBSD, and has been observed on platforms such as FreeBSD and Windows. This commit makes EAI_FAIL
an acceptable error code on all platforms.
Fixes: https://github.com/nodejs/node/issues/27487
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
commit message follows commit guidelines