summaryrefslogtreecommitdiff
path: root/jstests/multiVersion/merge_out_upgrade_downgrade.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/multiVersion/merge_out_upgrade_downgrade.js')
-rw-r--r--jstests/multiVersion/merge_out_upgrade_downgrade.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/multiVersion/merge_out_upgrade_downgrade.js b/jstests/multiVersion/merge_out_upgrade_downgrade.js
index 53f9c9d0b2c..6cc62bc6d64 100644
--- a/jstests/multiVersion/merge_out_upgrade_downgrade.js
+++ b/jstests/multiVersion/merge_out_upgrade_downgrade.js
@@ -86,7 +86,7 @@ let testRepl = function() {
replTest.startSet();
replTest.initiate();
// Upgrade secondary to latest version.
- replTest.upgradeSecondaries(replTest.getPrimary(), {binVersion: "latest"});
+ replTest.upgradeSecondaries({binVersion: "latest"});
let [primary, primaryDb, secondaryDb, inputCollPrimary, inputCollSecondary] =
awaitReplSet(replTest);