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 <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>
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

+1-1
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)