diff options
author | Eric Milkie <milkie@10gen.com> | 2013-06-17 09:26:38 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2013-06-17 09:27:18 -0400 |
commit | 447e4270013070e306e2e420a4218a1760c78840 (patch) | |
tree | 19138cc6cfd42600158eff8a878a820ae00e28d8 /jstests | |
parent | 31ba99f6c3385014b56e4f358c5cc9320d6c293d (diff) | |
download | mongo-447e4270013070e306e2e420a4218a1760c78840.tar.gz |
SERVER-9694 force a stepdown no matter how far behind we think we are
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/replsets/stepdown3.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/stepdown3.js b/jstests/replsets/stepdown3.js index 4b90ce99a2f..8605040c384 100644 --- a/jstests/replsets/stepdown3.js +++ b/jstests/replsets/stepdown3.js @@ -27,7 +27,7 @@ master.getDB("test").foo.insert({x:3}); // step down the primary asyncronously print("stepdown"); -var command = "sleep(4000); tojson(rs.stepDown());" +var command = "sleep(4000); tojson(db.adminCommand( { replSetStepDown : 60, force : 1 } ));" var waitfunc = startParallelShell(command, master.port); print("getlasterror; should assert or return an error, depending on timing"); |