Skip to content

Commit

Permalink
test: fix test-debug-port-cluster flakiness
Browse files Browse the repository at this point in the history
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: nodejs#6769
Fixes: nodejs#6754
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
Trott committed May 18, 2016
1 parent 2c926dc commit 0350505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-debug-port-cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 0350505

Please sign in to comment.