diff options
Diffstat (limited to 'jstests/replsets/recover_prepared_transactions_startup_secondary_application.js')
-rw-r--r-- | jstests/replsets/recover_prepared_transactions_startup_secondary_application.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/recover_prepared_transactions_startup_secondary_application.js b/jstests/replsets/recover_prepared_transactions_startup_secondary_application.js index 31845da9629..56f40a8793f 100644 --- a/jstests/replsets/recover_prepared_transactions_startup_secondary_application.js +++ b/jstests/replsets/recover_prepared_transactions_startup_secondary_application.js @@ -82,7 +82,7 @@ PrepareHelpers.awaitMajorityCommitted(replTest, prepareTimestamp2); // Wait for the node to complete recovery before trying to read from it. replTest.awaitSecondaryNodes(); -secondary.setSlaveOk(); +secondary.setSecondaryOk(); jsTestLog("Checking that the first transaction is properly prepared"); |