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: #6769
Fixes: #6754
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
Trott authored and rvagg committed Jun 2, 2016
1 parent 5374afd commit 2cf3a53
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 2cf3a53

Please sign in to comment.