summaryrefslogtreecommitdiff
path: root/jstests/multiVersion/2_test_launching_cluster.js
diff options
context:
space:
mode:
authorTess Avitabile <tess.avitabile@mongodb.com>2017-10-25 12:07:41 -0400
committerTess Avitabile <tess.avitabile@mongodb.com>2017-10-27 16:24:18 -0400
commitba9fe259f54fe41e2694d59809be5f42911bbe4b (patch)
tree79b80b1676f2beb7cd11c22157a53f5e54132cf5 /jstests/multiVersion/2_test_launching_cluster.js
parent58da3876b02408e5c19927f1b342b8e40835bc86 (diff)
downloadmongo-ba9fe259f54fe41e2694d59809be5f42911bbe4b.tar.gz
SERVER-31633 If the featureCompatibilityVersion is 3.6, upgrading, or downgrading, respond to isMaster with minWireVersion=maxWireVersion
Diffstat (limited to 'jstests/multiVersion/2_test_launching_cluster.js')
-rw-r--r--jstests/multiVersion/2_test_launching_cluster.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/jstests/multiVersion/2_test_launching_cluster.js b/jstests/multiVersion/2_test_launching_cluster.js
index 47368a27331..4e81fce3602 100644
--- a/jstests/multiVersion/2_test_launching_cluster.js
+++ b/jstests/multiVersion/2_test_launching_cluster.js
@@ -15,6 +15,7 @@ load('./jstests/multiVersion/libs/verify_versions.js');
"use strict";
// Check our latest versions
var versionsToCheck = ["last-stable", "latest"];
+ var versionsToCheckConfig = ["latest"];
var versionsToCheckMongos = ["last-stable"];
jsTest.log("Testing mixed versions...");
@@ -25,7 +26,7 @@ load('./jstests/multiVersion/libs/verify_versions.js');
mongos: 2,
other: {
mongosOptions: {binVersion: versionsToCheckMongos},
- configOptions: {binVersion: versionsToCheck},
+ configOptions: {binVersion: versionsToCheckConfig},
shardOptions: {binVersion: versionsToCheck},
enableBalancer: true
}
@@ -52,7 +53,7 @@ load('./jstests/multiVersion/libs/verify_versions.js');
for (var j = 0; j < configs.length; j++)
versionsFound.push(configs[j].getBinVersion());
- assert.allBinVersions(versionsToCheck, versionsFound);
+ assert.allBinVersions(versionsToCheckConfig, versionsFound);
st.stop();
})();