Commit 1c5a3f0d authored by Rich Trott's avatar Rich Trott
Browse files

test: fix flaky test-cluster-net-listen-ipv6only-none

test-cluster-net-listen-ipv6only-none was using port `0` for an
IPv6-only operation and assuming that the operating system would supply
a port that was also available in IPv4. However, CI results seem to
indicate that a port can be supplied that is in use by IPv4 but
available to IPv6, resulting in the test failing. Use `common.PORT` to
avoid this issue.

Fixes: https://github.com/nodejs/node/issues/29679

PR-URL: https://github.com/nodejs/node/pull/29681


Reviewed-By: default avatarSam Roberts <vieuxtech@gmail.com>
parent 2487f390
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment