summaryrefslogtreecommitdiff
path: root/jstests/gle
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2014-11-05 12:07:44 -0500
committerSpencer T Brody <spencer@mongodb.com>2014-11-05 13:05:33 -0500
commitd2ab711c0e57271f9584602329c50dd84e32c4bb (patch)
tree6d3117dba0962e76564db901f8dc456e01754f9a /jstests/gle
parent3f02fd962b26014f9fcb21e0ab91462d9fc690b6 (diff)
downloadmongo-d2ab711c0e57271f9584602329c50dd84e32c4bb.tar.gz
SERVER-15967 Increase timeout in get_last_error.js test to allow a secondary to replicate the write
Diffstat (limited to 'jstests/gle')
-rw-r--r--jstests/gle/get_last_error.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/gle/get_last_error.js b/jstests/gle/get_last_error.js
index fbfe4927b26..e902aaecaba 100644
--- a/jstests/gle/get_last_error.js
+++ b/jstests/gle/get_last_error.js
@@ -54,7 +54,8 @@ replTest.stop(2);
master = replTest.getMaster();
mdb = master.getDB("test");
mdb.foo.insert({_id: "3"});
-gle = mdb.getLastErrorObj(3, 5);
+gle = mdb.getLastErrorObj(3, 1000);
+print('Trying w=3 with 2 nodes up, 1000ms timeout.');
printjson(gle);
assert.eq(gle.ok, 1);
assert.eq(gle.err, "timeout");