Commit 2a6b7b0
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: #29679
PR-URL: #29681
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>1 parent 298d927 commit 2a6b7b0Copy full SHA for 2a6b7b0
File tree
Expand file treeCollapse file tree
1 file changed
+10
-11
lines changedOpen diff view settings
Filter options
- test/sequential
Expand file treeCollapse file tree
1 file changed
+10
-11
lines changedOpen diff view settings
Collapse file
…test-cluster-net-listen-ipv6only-none.js …test-cluster-net-listen-ipv6only-none.jstest/parallel/test-cluster-net-listen-ipv6only-none.js renamed to test/sequential/test-cluster-net-listen-ipv6only-none.js test/parallel/test-cluster-net-listen-ipv6only-none.js renamed to test/sequential/test-cluster-net-listen-ipv6only-none.js
Copy file name to clipboardExpand all lines: test/sequential/test-cluster-net-listen-ipv6only-none.js+10-11Lines changed: 10 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
17 | 17 | |
18 | 18 | |
19 | 19 | |
20 | | - |
21 | 20 | |
22 | 21 | |
23 | | - |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
24 | 27 | |
25 | 28 | |
26 | | - |
| 29 | + |
27 | 30 | |
28 | 31 | |
29 | 32 | |
| ||
37 | 40 | |
38 | 41 | |
39 | 42 | |
40 | | - |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
45 | | - |
46 | | - |
| 43 | + |
| 44 | + |
| 45 | + |
47 | 46 | |
48 | 47 | |
49 | 48 | |
| ||
52 | 51 | |
53 | 52 | |
54 | 53 | |
55 | | - |
| 54 | + |
56 | 55 | |
57 | 56 | |
58 | 57 | |
0 commit comments