summaryrefslogtreecommitdiff
path: root/buildscripts/resmokelib/testing/fixtures/replicaset.py
diff options
context:
space:
mode:
authorXuerui Fa <xuerui.fa@mongodb.com>2020-02-21 11:48:06 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-04 20:44:35 +0000
commit79b35bf74b709955c967446b008f36f181569057 (patch)
tree7cc23478421f57fe9151d0e16922c04016675c01 /buildscripts/resmokelib/testing/fixtures/replicaset.py
parent246ed94e7fc900e034775c2d60bedde2bf92bce2 (diff)
downloadmongo-79b35bf74b709955c967446b008f36f181569057.tar.gz
SERVER-46332: Assign correct binary version to nodes in mixed version passthrough tests
Diffstat (limited to 'buildscripts/resmokelib/testing/fixtures/replicaset.py')
-rw-r--r--buildscripts/resmokelib/testing/fixtures/replicaset.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildscripts/resmokelib/testing/fixtures/replicaset.py b/buildscripts/resmokelib/testing/fixtures/replicaset.py
index b1010f80483..aee90aad4cb 100644
--- a/buildscripts/resmokelib/testing/fixtures/replicaset.py
+++ b/buildscripts/resmokelib/testing/fixtures/replicaset.py
@@ -56,7 +56,9 @@ class ReplicaSetFixture(interface.ReplFixture): # pylint: disable=too-many-inst
mongod_executable = utils.default_if_none(config.MONGOD_EXECUTABLE,
config.DEFAULT_MONGOD_EXECUTABLE)
latest_mongod = mongod_executable
- last_stable_mongod = mongod_executable + "-" \
+ # The last-stable binary is currently expected to live in '/data/multiversion', which is
+ # part of the PATH.
+ last_stable_mongod = config.DEFAULT_MONGOD_EXECUTABLE + "-" \
+ ReplicaSetFixture._LAST_STABLE_BIN_VERSION
is_config_svr = "configsvr" in self.replset_config_options and self.replset_config_options[
"configsvr"]