From 8abd7a61ea1277bae3ea6c73e179f01931c398dc Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Mon, 16 May 2016 11:42:30 -0700 Subject: [PATCH] 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 --- test/parallel/test-debug-port-cluster.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-debug-port-cluster.js b/test/parallel/test-debug-port-cluster.js index 2f65ab05d688df..ba87a1ea3bff42 100644 --- a/test/parallel/test-debug-port-cluster.js +++ b/test/parallel/test-debug-port-cluster.js @@ -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 = [