test: deflake test-net-listen-ipv6only · nodejs/node@b6852e2 · GitHub
Skip to content

Commit b6852e2

Browse files
Han5991aduh95
authored andcommitted
test: deflake test-net-listen-ipv6only
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>
1 parent 646221a commit b6852e2

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

test/parallel/test-net-listen-ipv6only.js renamed to test/sequential/test-net-listen-ipv6only.js

Lines changed: 5 additions & 1 deletion

0 commit comments

Comments
 (0)