summaryrefslogtreecommitdiff
path: root/src/mongo/shell/shardingtest.js
diff options
context:
space:
mode:
authorJason Chan <jason.chan@10gen.com>2020-03-02 16:37:12 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-03 16:18:34 +0000
commit7fb62bff8bffb24dac650d17309b142f049908c1 (patch)
tree5489f9c53d024c19d5a33e2cd659ca55ef98f27c /src/mongo/shell/shardingtest.js
parenta71367ba823cbe419ba4004d6a193fa2d640d0e3 (diff)
downloadmongo-7fb62bff8bffb24dac650d17309b142f049908c1.tar.gz
SERVER-46546 Only seed the RNG once in sharding_multiversion tests
Diffstat (limited to 'src/mongo/shell/shardingtest.js')
-rw-r--r--src/mongo/shell/shardingtest.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/shardingtest.js b/src/mongo/shell/shardingtest.js
index 42c5a6590ff..16060fc49f6 100644
--- a/src/mongo/shell/shardingtest.js
+++ b/src/mongo/shell/shardingtest.js
@@ -1215,7 +1215,7 @@ var ShardingTest = function(params) {
let randomSeedAlreadySet = false;
- if (jsTest.options().randomBinVersions) {
+ if (jsTest.options().useRandomBinVersionsWithinReplicaSet) {
// We avoid setting the random seed unequivocally to avoid unexpected behavior in tests
// that already make use of Random.setRandomSeed(). This conditional can be removed if
// it becomes the standard to always be generating the seed through ShardingTest.