diff options
author | Xuerui Fa <xuerui.fa@mongodb.com> | 2020-02-21 11:48:06 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-03-04 20:44:35 +0000 |
commit | 79b35bf74b709955c967446b008f36f181569057 (patch) | |
tree | 7cc23478421f57fe9151d0e16922c04016675c01 /buildscripts/resmokelib/testing/fixtures/replicaset.py | |
parent | 246ed94e7fc900e034775c2d60bedde2bf92bce2 (diff) | |
download | mongo-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.py | 4 |
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"] |