summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jstests/replsets/reconstruct_prepared_transactions_initial_sync.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/reconstruct_prepared_transactions_initial_sync.js b/jstests/replsets/reconstruct_prepared_transactions_initial_sync.js
index 65c0336856b..4458bbbc4b1 100644
--- a/jstests/replsets/reconstruct_prepared_transactions_initial_sync.js
+++ b/jstests/replsets/reconstruct_prepared_transactions_initial_sync.js
@@ -172,7 +172,7 @@ jsTestLog("Stepping up the secondary");
// Step up the secondary after initial sync is done and make sure the other two transactions are
// properly prepared.
-replTest.stepUp(secondary);
+replTest.stepUpNoAwaitReplication(secondary);
replTest.waitForState(secondary, ReplSetTest.State.PRIMARY);
const newPrimary = replTest.getPrimary();
testDB = newPrimary.getDB(dbName);