Commit eded117
test: use random ports where possible
This helps to prevent issues where a failed test can keep a bound
socket open long enough to cause other tests to fail with EADDRINUSE
because the same port number is used.
PR-URL: #7045
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Rod Vagg <rod@vagg.org>1 parent 27ed7fc commit eded117Copy full SHA for eded117
File tree
Expand file treeCollapse file tree
358 files changed
+1554
-1516
lines changedOpen diff view settings
Filter options
- test/parallel
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
358 files changed
+1554
-1516
lines changedOpen diff view settings
Collapse file
test/parallel/test-async-wrap-check-providers.js
Copy file name to clipboardExpand all lines: test/parallel/test-async-wrap-check-providers.js+7-6Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
76 | 76 | |
77 | 77 | |
78 | 78 | |
79 | | - |
80 | | - |
| 79 | + |
| 80 | + |
81 | 81 | |
82 | 82 | |
83 | | - |
84 | | - |
| 83 | + |
| 84 | + |
85 | 85 | |
86 | 86 | |
87 | 87 | |
| ||
95 | 95 | |
96 | 96 | |
97 | 97 | |
98 | | - |
99 | | - |
| 98 | + |
| 99 | + |
| 100 | + |
100 | 101 | |
101 | 102 | |
102 | 103 | |
|
Collapse file
test/parallel/test-async-wrap-disabled-propagate-parent.js
Copy file name to clipboardExpand all lines: test/parallel/test-async-wrap-disabled-propagate-parent.js+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
4 | 4 | |
5 | 5 | |
6 | 6 | |
| ||
40 | 40 | |
41 | 41 | |
42 | 42 | |
43 | | - |
44 | | - |
| 43 | + |
| 44 | + |
45 | 45 | |
46 | 46 | |
47 | 47 | |
|
Collapse file
test/parallel/test-async-wrap-propagate-parent.js
Copy file name to clipboardExpand all lines: test/parallel/test-async-wrap-propagate-parent.js+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
4 | 4 | |
5 | 5 | |
6 | 6 | |
| ||
40 | 40 | |
41 | 41 | |
42 | 42 | |
43 | | - |
44 | | - |
| 43 | + |
| 44 | + |
45 | 45 | |
46 | 46 | |
47 | 47 | |
|
Collapse file
test/parallel/test-beforeexit-event.js
Copy file name to clipboardExpand all lines: test/parallel/test-beforeexit-event.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
2 | 3 | |
3 | 4 | |
4 | | - |
5 | 5 | |
6 | 6 | |
7 | 7 | |
| ||
29 | 29 | |
30 | 30 | |
31 | 31 | |
32 | | - |
| 32 | + |
33 | 33 | |
34 | 34 | |
35 | 35 | |
|
Collapse file
test/parallel/test-child-process-disconnect.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-disconnect.js+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
38 | 38 | |
39 | 39 | |
40 | 40 | |
41 | | - |
| 41 | + |
42 | 42 | |
43 | 43 | |
44 | | - |
| 44 | + |
45 | 45 | |
46 | 46 | |
47 | 47 | |
| ||
65 | 65 | |
66 | 66 | |
67 | 67 | |
68 | | - |
69 | | - |
| 68 | + |
| 69 | + |
70 | 70 | |
71 | 71 | |
72 | | - |
| 72 | + |
73 | 73 | |
74 | 74 | |
75 | 75 | |
|
Collapse file
test/parallel/test-child-process-fork-dgram.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-fork-dgram.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
72 | 72 | |
73 | 73 | |
74 | 74 | |
75 | | - |
| 75 | + |
76 | 76 | |
77 | 77 | |
78 | 78 | |
| ||
98 | 98 | |
99 | 99 | |
100 | 100 | |
101 | | - |
| 101 | + |
102 | 102 | |
103 | 103 | |
104 | 104 | |
|
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+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
3 | 2 | |
| 3 | + |
4 | 4 | |
5 | 5 | |
6 | 6 | |
|
Collapse file
test/parallel/test-child-process-fork-net2.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-fork-net2.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
99 | 99 | |
100 | 100 | |
101 | 101 | |
102 | | - |
| 102 | + |
103 | 103 | |
104 | 104 | |
105 | 105 | |
| ||
125 | 125 | |
126 | 126 | |
127 | 127 | |
128 | | - |
| 128 | + |
129 | 129 | |
130 | 130 | |
131 | 131 | |
|
Collapse file
test/parallel/test-child-process-fork-regr-gh-2847.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-fork-regr-gh-2847.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
25 | 25 | |
26 | 26 | |
27 | 27 | |
28 | | - |
| 28 | + |
29 | 29 | |
30 | 30 | |
31 | 31 | |
32 | | - |
| 32 | + |
33 | 33 | |
34 | 34 | |
35 | 35 | |
|
Collapse file
test/parallel/test-child-process-recv-handle.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-recv-handle.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
24 | 24 | |
25 | 25 | |
26 | 26 | |
27 | | - |
| 27 | + |
28 | 28 | |
29 | 29 | |
30 | 30 | |
|
0 commit comments