diff options
Diffstat (limited to 'jstests/replsets/reconstruct_prepared_transactions_initial_sync.js')
-rw-r--r-- | jstests/replsets/reconstruct_prepared_transactions_initial_sync.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/reconstruct_prepared_transactions_initial_sync.js b/jstests/replsets/reconstruct_prepared_transactions_initial_sync.js index 2cc177445e1..82e4a126755 100644 --- a/jstests/replsets/reconstruct_prepared_transactions_initial_sync.js +++ b/jstests/replsets/reconstruct_prepared_transactions_initial_sync.js @@ -14,7 +14,6 @@ (function() { "use strict"; -load("jstests/libs/check_log.js"); load("jstests/core/txns/libs/prepare_helpers.js"); const replTest = new ReplSetTest({nodes: 2}); @@ -94,7 +93,8 @@ secondary = replTest.start( true /* wait */); // Wait for failpoint to be reached so we know that collection cloning is paused. -checkLog.contains(secondary, "initialSyncHangDuringCollectionClone fail point enabled"); +assert.commandWorked(secondary.adminCommand( + {waitForFailPoint: "initialSyncHangDuringCollectionClone", timesEntered: 1})); jsTestLog("Running operations while collection cloning is paused"); |