summaryrefslogtreecommitdiff
path: root/jstests/replsets/stepdown_killop.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/stepdown_killop.js')
-rw-r--r--jstests/replsets/stepdown_killop.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/stepdown_killop.js b/jstests/replsets/stepdown_killop.js
index 19e084f86f8..d47738aa47e 100644
--- a/jstests/replsets/stepdown_killop.js
+++ b/jstests/replsets/stepdown_killop.js
@@ -38,8 +38,8 @@
// do a write then ask the PRIMARY to stepdown
jsTestLog("Initiating stepdown");
- assert.writeOK(primary.getDB(name).foo.insert({myDoc: true, x: 1},
- {writeConcern: {w: 1, wtimeout: 60000}}));
+ assert.writeOK(primary.getDB(name).foo.insert(
+ {myDoc: true, x: 1}, {writeConcern: {w: 1, wtimeout: ReplSetTest.kDefaultTimeoutMS}}));
var stepDownCmd = function() {
var res = db.getSiblingDB('admin').runCommand(
{replSetStepDown: 60, secondaryCatchUpPeriodSecs: 60});