diff options
author | Caleb Everett <everett.caleb@gmail.com> | 2022-05-24 21:03:02 +0300 |
---|---|---|
committer | Michael Dawson <mdawson@devrus.com> | 2022-06-14 00:30:13 +0300 |
commit | 5ca2ab1ff56bc220750f653f57cd0bac2e1ee510 (patch) | |
tree | ec088a114b6648f76d332cb544546526f5b03289 | |
parent | 78b410ff4bfb9a967668a6895b0f55c82eab3d49 (diff) |
test: fix address in use error
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 <luigipinca@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Akhil Marsonya <akhil.marsonya27@gmail.com>
Reviewed-By: Michael Dawson <midawson@redhat.com>
-rw-r--r-- | test/parallel/test-domain-dep0097.js | 2 |
1 files changed, 1 insertions, 1 deletions
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); }); |