summaryrefslogtreecommitdiff
path: root/src/mongo/shell/utils.js
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2015-09-03 15:38:07 -0400
committerCharlie Swanson <charlie.swanson@mongodb.com>2015-09-09 13:14:48 -0400
commit55415b9297de042844fcd6b65586ae8a726ce6f3 (patch)
treed790fc6d29ec23e974030cbd0d4aa2a2d70c0e99 /src/mongo/shell/utils.js
parentc15f4bb96d2ee86874582d45d1865e9358168e7e (diff)
downloadmongo-55415b9297de042844fcd6b65586ae8a726ce6f3.tar.gz
SERVER-18271 Add TestData options to configure range of ports used in tests
Diffstat (limited to 'src/mongo/shell/utils.js')
-rw-r--r--src/mongo/shell/utils.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/shell/utils.js b/src/mongo/shell/utils.js
index 8c126cf903c..fe56226dfad 100644
--- a/src/mongo/shell/utils.js
+++ b/src/mongo/shell/utils.js
@@ -177,6 +177,8 @@ jsTestOptions = function(){
useLegacyConfigServers: TestData.useLegacyConfigServers || false,
enableEncryption: TestData.enableEncryption,
encryptionKeyFile: TestData.encryptionKeyFile,
+ minPort: TestData.minPort,
+ maxPort: TestData.maxPort,
}
);
}