Skip to content

Commit

Permalink
test: use random port in test-inspector-enabled
Browse files Browse the repository at this point in the history
Which makes it possible to run it in parallel.

PR-URL: #47412
Refs: #47146
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
joyeecheung authored and danielleadams committed Jul 6, 2023
1 parent a437e4b commit 8fda55e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sequential/test-inspector-enabled.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ assert(
'inspector.isEnabled() should be false after _debugEnd()');
`;

const args = ['--inspect', '-e', script];
const args = ['--inspect=0', '-e', script];
const child = spawn(process.execPath, args, {
stdio: 'inherit',
env: { ...process.env, NODE_V8_COVERAGE: '' }
Expand Down

0 comments on commit 8fda55e

Please sign in to comment.