From 617b8d44c69ba53ca04f7b9218dd18948e5383ba Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Wed, 5 Apr 2023 01:22:47 +0200 Subject: [PATCH] test: use random port in test-inspector-enabled MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Which makes it possible to run it in parallel. PR-URL: https://github.com/nodejs/node/pull/47412 Refs: https://github.com/nodejs/node/issues/47146 Reviewed-By: Yagiz Nizipli Reviewed-By: Moshe Atlow Reviewed-By: Michaƫl Zasso Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Rich Trott --- test/sequential/test-inspector-enabled.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sequential/test-inspector-enabled.js b/test/sequential/test-inspector-enabled.js index f14e7c17d817c5..33140ba5074f44 100644 --- a/test/sequential/test-inspector-enabled.js +++ b/test/sequential/test-inspector-enabled.js @@ -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: '' }