Commit 7d47b02
test: remove common.PORT from test-cluster-basic
Use of `common.PORT` in `parallel` tests is not completely safe (because
the same port can be previously assigned to another test running in
parallel if that test uses port `0` to get an arbitrary available port).
Remove `common.PORT` from test-cluster-basic.
PR-URL: #12377
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent a6e0673 commit 7d47b02Copy full SHA for 7d47b02
File tree
Expand file treeCollapse file tree
1 file changed
+10
-9
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+10
-9
lines changedOpen diff view settings
Collapse file
test/parallel/test-cluster-basic.js
Copy file name to clipboardExpand all lines: test/parallel/test-cluster-basic.js+10-9Lines changed: 10 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | | - |
18 | | - |
19 | | - |
20 | | - |
| 17 | + |
21 | 18 | |
22 | 19 | |
23 | 20 | |
| ||
109 | 106 | |
110 | 107 | |
111 | 108 | |
112 | | - |
113 | | - |
114 | | - |
115 | | - |
116 | | - |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
117 | 118 | |
118 | 119 | |
119 | 120 | |
|
0 commit comments