summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Chan <jason.chan@mongodb.com>2019-10-21 18:40:41 +0000
committerevergreen <evergreen@mongodb.com>2019-10-21 18:40:41 +0000
commit0dfbced1ee2eacba4189d727b1a0a17bc34f90a6 (patch)
tree245d2bf69a1a068a2964546585c361cb07fd7c3b
parenta5887f3a5bd5bcc7398bf2bddc8c537b679e6a58 (diff)
downloadmongo-0dfbced1ee2eacba4189d727b1a0a17bc34f90a6.tar.gz
SERVER-44023 Update ReplicasetFixture to always use latest bin version for config servers when in a mixed version sharded cluster
-rw-r--r--buildscripts/resmokelib/testing/fixtures/replicaset.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/resmokelib/testing/fixtures/replicaset.py b/buildscripts/resmokelib/testing/fixtures/replicaset.py
index 3a7a9e26bf8..6b714dfca34 100644
--- a/buildscripts/resmokelib/testing/fixtures/replicaset.py
+++ b/buildscripts/resmokelib/testing/fixtures/replicaset.py
@@ -60,8 +60,8 @@ class ReplicaSetFixture(interface.ReplFixture): # pylint: disable=too-many-inst
]
else:
# Our documented recommended path for upgrading shards lets us assume that config
- # server secondaries will always be upgraded before the primary.
- self.mixed_bin_versions = [last_stable_mongod, latest_mongod]
+ # server nodes will always be fully upgraded before shard nodes.
+ self.mixed_bin_versions = [latest_mongod, latest_mongod]
num_versions = len(self.mixed_bin_versions)
if num_versions != num_nodes and not is_config_svr:
msg = (("The number of binary versions specified: {} do not match the number of"\