From d2ab711c0e57271f9584602329c50dd84e32c4bb Mon Sep 17 00:00:00 2001 From: Spencer T Brody Date: Wed, 5 Nov 2014 12:07:44 -0500 Subject: SERVER-15967 Increase timeout in get_last_error.js test to allow a secondary to replicate the write --- jstests/gle/get_last_error.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'jstests/gle') 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"); -- cgit v1.2.1