diff options
Diffstat (limited to 'test/common.js')
-rw-r--r-- | test/common.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/common.js b/test/common.js index 455a4cd9cf..d529ab2d70 100644 --- a/test/common.js +++ b/test/common.js @@ -26,7 +26,7 @@ exports.testDir = path.dirname(__filename); exports.fixturesDir = path.join(exports.testDir, 'fixtures'); exports.libDir = path.join(exports.testDir, '../lib'); exports.tmpDir = path.join(exports.testDir, 'tmp'); -exports.PORT = 12346; +exports.PORT = +process.env.NODE_COMMON_PORT || 12346; if (process.platform === 'win32') { exports.PIPE = '\\\\.\\pipe\\libuv-test'; |