summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorJudah Schvimer <judah@mongodb.com>2016-10-11 09:58:52 -0400
committerJudah Schvimer <judah@mongodb.com>2016-10-11 09:58:52 -0400
commita240db264915f0bcf1b5131cd2f4f2edcedb454c (patch)
treee0e1ee99f54c611c8579e5f8cd409e4deb3adc5d /jstests
parenta43da01b5124d89dea500819cbac0e55eb76961a (diff)
downloadmongo-a240db264915f0bcf1b5131cd2f4f2edcedb454c.tar.gz
SERVER-26561 increase wtimeout in stepdown3.js
Diffstat (limited to 'jstests')
-rw-r--r--jstests/replsets/stepdown3.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/replsets/stepdown3.js b/jstests/replsets/stepdown3.js
index 968877a2069..c04aee96d76 100644
--- a/jstests/replsets/stepdown3.js
+++ b/jstests/replsets/stepdown3.js
@@ -37,7 +37,8 @@
print("getlasterror; should assert or return an error, depending on timing");
var gleFunction = function() {
- var result = master.getDB("test").runCommand({getLastError: 1, w: 2, wtimeout: 30000});
+ var result =
+ master.getDB("test").runCommand({getLastError: 1, w: 2, wtimeout: 10 * 60 * 1000});
if (result.errmsg === "not master" || result.code == ErrorCodes.NotMaster ||
result.code == ErrorCodes.InterruptedDueToReplStateChange) {
throw new Error("satisfy assert.throws()");