summaryrefslogtreecommitdiff
path: root/jstests/replsets
diff options
context:
space:
mode:
authorMaria van Keulen <maria@mongodb.com>2018-01-29 11:02:11 -0500
committerMaria van Keulen <maria@mongodb.com>2018-02-02 15:31:03 -0500
commitce3049c1eae2f8e22c0e47086dfa6c77aaab90f7 (patch)
tree4887ac72ce148abb2b8929afc38419eec9573b42 /jstests/replsets
parent16f907e29539150d27408778d7f62b723c5131ab (diff)
downloadmongo-ce3049c1eae2f8e22c0e47086dfa6c77aaab90f7.tar.gz
SERVER-33003 Re-enable passing multiVersion tests
Diffstat (limited to 'jstests/replsets')
-rw-r--r--jstests/replsets/libs/rename_across_dbs.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/jstests/replsets/libs/rename_across_dbs.js b/jstests/replsets/libs/rename_across_dbs.js
index 9b0298740a0..9691a2efd0f 100644
--- a/jstests/replsets/libs/rename_across_dbs.js
+++ b/jstests/replsets/libs/rename_across_dbs.js
@@ -48,6 +48,12 @@ var RenameAcrossDatabasesTest = function(options) {
replTest.startSet();
replTest.initiate();
+ // TODO(SERVER-32597) remove this when fCV 4.0 becomes the default on clean startup.
+ if (nodes[0].binVersion == 'latest') {
+ assert.commandWorked(
+ replTest.getPrimary().adminCommand({setFeatureCompatibilityVersion: '4.0'}));
+ }
+
// If provided in 'options', we set the featureCompatibilityVersion. We do this prior to
// adding any other members to the replica set.
if (options.setFeatureCompatibilityVersion) {