Commit 03d2514
tools,test: throw if common.PORT used in parallel tests
common.PORT should not be used in parallelized tests. (There can be a
port collision if another tests requests an arbitrary open port from the
operating system and ends up getting common.PORT before a test that uses
common.PORT uses the port.) In such a situation, throw an error.
PR-URL: #17559
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>1 parent 39e2fb6 commit 03d2514Copy full SHA for 03d2514
Expand file treeCollapse file tree
2 files changed
+12
-2
lines changedOpen diff view settings
Collapse file
+10-1Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
40 | 40 | |
41 | 41 | |
42 | 42 | |
43 | | - |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
44 | 53 | |
45 | 54 | |
46 | 55 | |
|
Collapse file
+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
532 | 532 | |
533 | 533 | |
534 | 534 | |
535 | | - |
| 535 | + |
| 536 | + |
536 | 537 | |
537 | 538 | |
538 | 539 | |
|
0 commit comments