Skip to content

Commit 617b8d4

Browse files
joyeecheungRafaelGSS
authored andcommitted
test: use random port in test-inspector-enabled
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]>
1 parent ade0170 commit 617b8d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sequential/test-inspector-enabled.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ assert(
1919
'inspector.isEnabled() should be false after _debugEnd()');
2020
`;
2121

22-
const args = ['--inspect', '-e', script];
22+
const args = ['--inspect=0', '-e', script];
2323
const child = spawn(process.execPath, args, {
2424
stdio: 'inherit',
2525
env: { ...process.env, NODE_V8_COVERAGE: '' }

0 commit comments

Comments
 (0)