mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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: https://github.com/nodejs/node/pull/6769 Fixes: https://github.com/nodejs/node/issues/6754 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
1 parent
f8144e4c4a
commit
49a5941d30
1 file changed
+1
-1
@@ -3,7 +3,7 @@ const common = require('../common');
|
||||
const assert = require('assert');
|
||||
const spawn = require('child_process').spawn;
|
||||
|
||||
const PORT_MIN = common.PORT + 1337;
|
||||
const PORT_MIN = common.PORT;
|
||||
const PORT_MAX = PORT_MIN + 2;
|
||||
|
||||
const args = [
|
||||
|
||||
Reference in new issue
Block a user