From 0f9684b76c1030445aebf9c3de7a127c9ab38746 Mon Sep 17 00:00:00 2001 From: Caleb Everett Date: Tue, 24 May 2022 11:03:02 -0700 Subject: [PATCH] test: fix address in use error MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit test-domain-dep0097.js was sporadically failing because it is a parallel test and uses opens a default inspector port. This commit changes to bind to a random free port PR-URL: https://github.com/nodejs/node/pull/43199 Reviewed-By: Luigi Pinca Reviewed-By: Minwoo Jung Reviewed-By: Tobias Nießen Reviewed-By: Akhil Marsonya Reviewed-By: Michael Dawson --- test/parallel/test-domain-dep0097.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-domain-dep0097.js b/test/parallel/test-domain-dep0097.js index 05b5c74b30d..7ed823aa416 100644 --- a/test/parallel/test-domain-dep0097.js +++ b/test/parallel/test-domain-dep0097.js @@ -13,5 +13,5 @@ process.on('warning', common.mustCall((warning) => { })); domain.create().run(() => { - inspector.open(); + inspector.open(0); });