diff options
author | Judah Schvimer <judah@mongodb.com> | 2016-10-11 09:58:52 -0400 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2016-10-11 09:58:52 -0400 |
commit | a240db264915f0bcf1b5131cd2f4f2edcedb454c (patch) | |
tree | e0e1ee99f54c611c8579e5f8cd409e4deb3adc5d /jstests | |
parent | a43da01b5124d89dea500819cbac0e55eb76961a (diff) | |
download | mongo-a240db264915f0bcf1b5131cd2f4f2edcedb454c.tar.gz |
SERVER-26561 increase wtimeout in stepdown3.js
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/replsets/stepdown3.js | 3 |
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()"); |