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:
Rich Trott authored and Myles Borins committed 2016-05-23 10:58:02 -07:00
1 parent f8144e4c4a
commit 49a5941d30
1 file changed
+1 -1
+1 -1
View File
@@ -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 = [