Commit 042e858
test: make test-child-process-fork-net more robust
test-child-process-fork-net will sometimes fail in CI with EADDRINUSE
because an earlier test failed to free common.PORT. Have the operating
system provide an available port instead.
PR-URL: #7033
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>1 parent 9d13337 commit 042e858Copy full SHA for 042e858
File tree
Expand file treeCollapse file tree
1 file changed
+5
-5
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+5
-5
lines changedOpen diff view settings
Collapse file
test/parallel/test-child-process-fork-net.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-fork-net.js+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
4 | 4 | |
5 | 5 | |
6 | 6 | |
| ||
91 | 91 | |
92 | 92 | |
93 | 93 | |
94 | | - |
| 94 | + |
95 | 95 | |
96 | 96 | |
97 | 97 | |
| ||
100 | 100 | |
101 | 101 | |
102 | 102 | |
103 | | - |
| 103 | + |
104 | 104 | |
105 | 105 | |
106 | 106 | |
| ||
143 | 143 | |
144 | 144 | |
145 | 145 | |
146 | | - |
| 146 | + |
147 | 147 | |
148 | | - |
| 148 | + |
149 | 149 | |
150 | 150 | |
151 | 151 | |
|
0 commit comments