diff options
Diffstat (limited to 'jstests/multiVersion/downgrade_replset.js')
-rw-r--r-- | jstests/multiVersion/downgrade_replset.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/multiVersion/downgrade_replset.js b/jstests/multiVersion/downgrade_replset.js index 17581827f11..6dd492efab3 100644 --- a/jstests/multiVersion/downgrade_replset.js +++ b/jstests/multiVersion/downgrade_replset.js @@ -14,7 +14,9 @@ var nodes = {n1: {binVersion: newVersion}, var rst = new ReplSetTest({name: name, nodes: nodes, nodeOptions: {storageEngine: 'mmapv1'}}); rst.startSet(); -rst.initiate(); +var replSetConfig = rst.getReplSetConfig(); +replSetConfig.protocolVersion = 0; +rst.initiate(replSetConfig); var primary = rst.getPrimary(); var coll = "test.foo"; |