diff options
author | Rich Trott <rtrott@gmail.com> | 2017-12-05 00:31:20 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2017-12-05 19:53:04 -0800 |
commit | abd5d95711ee03265f3521712ef8a6794b5a6ecc (patch) | |
tree | cf44e65298828e361be67739e795a689dbf44ab4 /AUTHORS | |
parent | 7f70a2a9efd39f04209b8a4f8e7311174c9f6bbf (diff) | |
download | android-node-v8-abd5d95711ee03265f3521712ef8a6794b5a6ecc.tar.gz android-node-v8-abd5d95711ee03265f3521712ef8a6794b5a6ecc.tar.bz2 android-node-v8-abd5d95711ee03265f3521712ef8a6794b5a6ecc.zip |
test: remove hidden use of common.PORT in parallel tests
common.hasMultiLocalhost() uses common.PORT under the hood. This is
problematic in parallel tests because another test using port 0 to
get an arbitrary open port may end up getting common.PORT before the
test using common.PORT gets it.
Therefore, change common.PORT to port 0 in common.hasMultiLocalhost().
PR-URL: https://github.com/nodejs/node/pull/17466
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions