From f92e0d318ab17f730c49ffdb79f1a64d43fbabd3 Mon Sep 17 00:00:00 2001 From: Moustafa Maher Date: Wed, 8 Sep 2021 18:09:28 +0000 Subject: SERVER-59672 Fix stopping replication in step_down_during_draining3.js --- jstests/replsets/step_down_during_draining3.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jstests/replsets/step_down_during_draining3.js b/jstests/replsets/step_down_during_draining3.js index 71df8287150..eca54a62745 100644 --- a/jstests/replsets/step_down_during_draining3.js +++ b/jstests/replsets/step_down_during_draining3.js @@ -33,6 +33,8 @@ function enableFailPoint(node) { jsTest.log("enable failpoint " + node.host); assert.commandWorked( node.adminCommand({configureFailPoint: 'rsSyncApplyStop', mode: 'alwaysOn'})); + // Wait for Oplog Applier to hang on the failpoint. + checkLog.contains(node, "Oplog Applier - rsSyncApplyStop fail point enabled."); } function disableFailPoint(node) { -- cgit v1.2.1