| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The test verified ipv6Only by connecting to the IPv4 side of an ephemeral port and expecting ECONNREFUSED, but it never reserved that IPv4 port. Under parallel execution another test could occupy it, making the connection succeed instead of being refused. Run the test sequentially with a fixed common.PORT so it no longer competes with other tests for the same port, matching the fix already applied to the sibling cluster variants. Fixes: nodejs#64172 Signed-off-by: sangwook <rewq5991@gmail.com>
Sorry, something went wrong.
The test verified ipv6Only by connecting to the IPv4 side of an ephemeral port and expecting ECONNREFUSED, but it never reserved that IPv4 port. Under parallel execution another test could occupy it, making the connection succeed instead of being refused. Run the test sequentially with a fixed common.PORT so it no longer competes with other tests for the same port, matching the fix already applied to the sibling cluster variants. Fixes: #64172 Signed-off-by: sangwook <rewq5991@gmail.com> PR-URL: #64173 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
The test verified ipv6Only by connecting to the IPv4 side of an ephemeral port and expecting ECONNREFUSED, but it never reserved that IPv4 port. Under parallel execution another test could occupy it, making the connection succeed instead of being refused. Run the test sequentially with a fixed common.PORT so it no longer competes with other tests for the same port, matching the fix already applied to the sibling cluster variants. Fixes: #64172 Signed-off-by: sangwook <rewq5991@gmail.com> PR-URL: #64173 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
| Back | FazBrowse Home | New Git URL |
test-net-listen-ipv6only connects to the IPv4 side of an ephemeral port
expecting ECONNREFUSED, but never reserves that port, so under parallel
execution another test can occupy it and the connection succeeds instead —
making the test flaky (it passes reliably in isolation).
Move the test to test/sequential/ and use a fixed common.PORT so it no
longer competes with other tests for the same port. This is the same fix
previously applied to the sibling cluster variants (#26298, #32381, #32398).
Fixes: #64172