Commit cde3014
test: remove modifcation to common.PORT
A possibly-buggy fixture server uses `common.PORT+1000` for its port
rather than `common.PORT`. That could result in it clashing with other
ports if tests are run in parallel. The test runner increments
`common.PORT` by 100 for each running instance for tests. Change to use
common.PORT and have the tests that use the fixture start with
common.PORT+1 for anything they need.
PR-URL: #6990
Refs: #6989
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>1 parent 1c65f1e commit cde3014Copy full SHA for cde3014
File tree
Expand file treeCollapse file tree
3 files changed
+3
-3
lines changedOpen diff view settings
Filter options
- test
- fixtures/clustered-server
- parallel
Expand file treeCollapse file tree
3 files changed
+3
-3
lines changedOpen diff view settings
Collapse file
test/fixtures/clustered-server/app.js
Copy file name to clipboardExpand all lines: test/fixtures/clustered-server/app.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | | - |
| 34 | + |
35 | 35 | |
Collapse file
test/parallel/test-debug-port-cluster.js
Copy file name to clipboardExpand all lines: test/parallel/test-debug-port-cluster.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
7 | 7 | |
8 | 8 | |
9 | 9 | |
|
Collapse file
test/parallel/test-debug-signal-cluster.js
Copy file name to clipboardExpand all lines: test/parallel/test-debug-signal-cluster.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
7 | 7 | |
8 | 8 | |
9 | 9 | |
|
0 commit comments