diff options
author | Moustafa Maher <m.maher@10gen.com> | 2021-09-08 18:09:28 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-10-09 00:50:40 +0000 |
commit | f92e0d318ab17f730c49ffdb79f1a64d43fbabd3 (patch) | |
tree | 5e3c5f832d941d37377ef8a41f1c612e19944617 | |
parent | ed680e1843fb4fd2e1b1249dc6c0d897ac66ca9a (diff) | |
download | mongo-f92e0d318ab17f730c49ffdb79f1a64d43fbabd3.tar.gz |
SERVER-59672 Fix stopping replication in step_down_during_draining3.js
-rw-r--r-- | jstests/replsets/step_down_during_draining3.js | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |