Commit 016b8bd
test: use --port=0 in debugger tests that do not have to work on 9229
To avoid failures when there is another running process occupying
the port 9229 which may happen if there is a stale process, use the
--port argument of node-inspect to use a random port in tests that
don't have to work on port 9229.
The following tests are not touched:
- test-debugger-custom-port: tests a specific port
- test-debugger-debug-brk: tests a specific port
- test-debugger-invalid-args: tests other inspect combinations
- test-debugger-pid: node-inspect does not support -p and --port
together
- test-debugger-launch: tests that default port is 9229
PR-URL: #47274
Refs: #47146
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 7db2e88 commit 016b8bdCopy full SHA for 016b8bd
File tree
Expand file treeCollapse file tree
26 files changed
+26
-25
lines changedOpen diff view settings
Filter options
- test/sequential
Expand file treeCollapse file tree
26 files changed
+26
-25
lines changedOpen diff view settings
Collapse file
test/sequential/test-debugger-auto-resume.mjs
Copy file name to clipboardExpand all lines: test/sequential/test-debugger-auto-resume.mjs+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
24 | | - |
| 24 | + |
25 | 25 | |
26 | 26 | |
27 | 27 | |
|
Collapse file
test/sequential/test-debugger-backtrace.js
Copy file name to clipboardExpand all lines: test/sequential/test-debugger-backtrace.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
| 16 | + |
17 | 17 | |
18 | 18 | |
19 | 19 | |
|
Collapse file
test/sequential/test-debugger-break.js
Copy file name to clipboardExpand all lines: test/sequential/test-debugger-break.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
11 | 11 | |
12 | 12 | |
13 | 13 | |
14 | | - |
| 14 | + |
15 | 15 | |
16 | 16 | |
17 | 17 | |
|
Collapse file
test/sequential/test-debugger-breakpoint-exists.js
Copy file name to clipboardExpand all lines: test/sequential/test-debugger-breakpoint-exists.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
9 | 9 | |
10 | 10 | |
11 | 11 | |
12 | | - |
| 12 | + |
13 | 13 | |
14 | 14 | |
15 | 15 | |
|
Collapse file
test/sequential/test-debugger-clear-breakpoints.js
Copy file name to clipboardExpand all lines: test/sequential/test-debugger-clear-breakpoints.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
| 16 | + |
17 | 17 | |
18 | 18 | |
19 | 19 | |
|
Collapse file
test/sequential/test-debugger-exceptions.js
Copy file name to clipboardExpand all lines: test/sequential/test-debugger-exceptions.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
| 16 | + |
17 | 17 | |
18 | 18 | |
19 | 19 | |
|
Collapse file
test/sequential/test-debugger-exec-scope.mjs
Copy file name to clipboardExpand all lines: test/sequential/test-debugger-exec-scope.mjs+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | | - |
| 10 | + |
11 | 11 | |
12 | 12 | |
13 | 13 | |
|
Collapse file
test/sequential/test-debugger-exec.js
Copy file name to clipboardExpand all lines: test/sequential/test-debugger-exec.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | | - |
| 11 | + |
12 | 12 | |
13 | 13 | |
14 | 14 | |
|
Collapse file
test/sequential/test-debugger-heap-profiler.js
Copy file name to clipboardExpand all lines: test/sequential/test-debugger-heap-profiler.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
17 | 17 | |
18 | 18 | |
19 | 19 | |
20 | | - |
| 20 | + |
21 | 21 | |
22 | 22 | |
23 | 23 | |
|
Collapse file
test/sequential/test-debugger-help.mjs
Copy file name to clipboardExpand all lines: test/sequential/test-debugger-help.mjs+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | | - |
| 10 | + |
11 | 11 | |
12 | 12 | |
13 | 13 | |
|
0 commit comments