Skip to content

Commit 8abd7a6

Browse files
TrottFishrock123
authored andcommitted
test: fix test-debug-port-cluster flakiness
Remove port increment by `1337` which appears to sometimes result in a port that is already in use. There is no reason not to use `common.PORT`. PR-URL: #6769 Fixes: #6754 Reviewed-By: Colin Ihrig <[email protected]>
1 parent 2ee4ed4 commit 8abd7a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-debug-port-cluster.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const common = require('../common');
33
const assert = require('assert');
44
const spawn = require('child_process').spawn;
55

6-
const PORT_MIN = common.PORT + 1337;
6+
const PORT_MIN = common.PORT;
77
const PORT_MAX = PORT_MIN + 2;
88

99
const args = [

0 commit comments

Comments
 (0)