diff options
Diffstat (limited to 'jstests/replsets/replsetfreeze.js')
-rw-r--r-- | jstests/replsets/replsetfreeze.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/replsetfreeze.js b/jstests/replsets/replsetfreeze.js index 3721ba5..7096349 100644 --- a/jstests/replsets/replsetfreeze.js +++ b/jstests/replsets/replsetfreeze.js @@ -53,7 +53,7 @@ var master = replTest.getMaster(); print("2: step down m1"); try { - master.getDB("admin").runCommand({replSetStepDown : 1}); + master.getDB("admin").runCommand({replSetStepDown : 1, force : 1}); } catch(e) { print(e); @@ -80,7 +80,7 @@ master = replTest.getMaster(); print("6: step down new master"); try { - master.getDB("admin").runCommand({replSetStepDown : 1}); + master.getDB("admin").runCommand({replSetStepDown : 1, force : 1}); } catch(e) { print(e); |