mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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>
This commit is contained in:
1 parent
64edd6cbc3
commit
71802c32d0
1 file changed
+1
-1
@@ -13,5 +13,5 @@ process.on('warning', common.mustCall((warning) => {
|
||||
}));
|
||||
|
||||
domain.create().run(() => {
|
||||
inspector.open();
|
||||
inspector.open(0);
|
||||
});
|
||||
Reference in new issue
Block a user