diff options
author | Bernard Gorman <bernard.gorman@gmail.com> | 2020-06-10 16:49:15 +0100 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-06-11 15:12:41 +0000 |
commit | 33d4a16dec74c49d05eefacf2d965fab23073195 (patch) | |
tree | f85ade14674c9d88b25651c5c7272a5271b7bfcc /jstests/replsets | |
parent | e52733a000b23cde7dcd2b2fc765a8a1f1012165 (diff) | |
download | mongo-33d4a16dec74c49d05eefacf2d965fab23073195.tar.gz |
SERVER-48219 Fix multiversion tests which are failing after introducing the failpointMsg field
Diffstat (limited to 'jstests/replsets')
-rw-r--r-- | jstests/replsets/no_disconnect_on_stepdown.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/no_disconnect_on_stepdown.js b/jstests/replsets/no_disconnect_on_stepdown.js index 503d85401ea..68877c6fc64 100644 --- a/jstests/replsets/no_disconnect_on_stepdown.js +++ b/jstests/replsets/no_disconnect_on_stepdown.js @@ -56,7 +56,7 @@ function runStepDownTest({description, failpoint, operation, errorCode}) { assert.commandWorked(db.adminCommand({ping:1}));`; const waitForShell = startParallelShell(writeCommand, primary.port); - waitForCurOpByFilter(primaryAdmin, {"failpointMsg": failpoint}); + waitForCurOpByFailPointNoNS(primaryAdmin, failpoint); assert.commandWorked(primaryAdmin.adminCommand({replSetStepDown: 60, force: true})); rst.waitForState(primary, ReplSetTest.State.SECONDARY); assert.commandWorked(primaryAdmin.adminCommand({configureFailPoint: failpoint, mode: "off"})); |