test: find IPv6 address from localhost names
Checklist
-
make -j4 test
(UNIX), orvcbuild test nosign
(Windows) passes -
commit message follows commit guidelines
Affected core subsystem(s)
test
Description of change
Try all the possible hostnames listed in common.localIPv6Hosts
to get
an IPv6 address. If none of them give a valid address, skip the tests.
cc @nodejs/testing