summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
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()");