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 <[email protected]>
Reviewed-By: Moshe Atlow <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
joyeecheung authored and MoLow committed Jul 6, 2023
1 parent e97ceec commit f6ef5c4
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 f6ef5c4

Please sign in to comment.