diff options
author | Eric Milkie <milkie@10gen.com> | 2013-01-29 13:09:40 -0500 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2013-01-29 13:10:18 -0500 |
commit | e9fe81f1d7eef251a9ebee4514031657372cf939 (patch) | |
tree | c387ba6e7339a384e443b5735e3c1b7e6d97c7de | |
parent | 2b94e0e553d7b76b2c1a50c6e9bd6d0b4764e78c (diff) | |
download | mongo-e9fe81f1d7eef251a9ebee4514031657372cf939.tar.gz |
SERVER-8381 raise timeout in cursor timeout test
-rw-r--r-- | jstests/slowWeekly/cursor_timeout.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/jstests/slowWeekly/cursor_timeout.js b/jstests/slowWeekly/cursor_timeout.js index c8ad33c3849..3e80e6c6fa7 100644 --- a/jstests/slowWeekly/cursor_timeout.js +++ b/jstests/slowWeekly/cursor_timeout.js @@ -44,8 +44,11 @@ shardedCursorWithNoTimeout.next(); cursorWithTimeout.next(); cursorWithNoTimeout.next(); -// Cursor cleanup is 10 minutes, but give a 1 min allowance -sleep( 660000 ); +// Cursor cleanup is 10 minutes, but give a 8 min allowance -- +// NOTE: Due to inaccurate timing on non-Linux platforms, mongos tries +// to timeout after 10 minutes but in fact is 15+ minutes; +// SERVER-8381 +sleep( 1000 * 60 * 17 ); assert.throws( function(){ shardedCursorWithTimeout.itcount(); } ); assert.throws( function(){ cursorWithTimeout.itcount(); } ); |