diff options
Diffstat (limited to 'jstests/sharding/cursor1.js')
-rw-r--r-- | jstests/sharding/cursor1.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/cursor1.js b/jstests/sharding/cursor1.js index 2a30936..f6cb9e4 100644 --- a/jstests/sharding/cursor1.js +++ b/jstests/sharding/cursor1.js @@ -53,7 +53,7 @@ sleep( 6000 ) assert( cur.next() , "T3" ) assert( cur.next() , "T4" ); sleep( 22000 ) -assert.throws( function(){ cur.next(); } , "T5" ) +assert.throws( function(){ cur.next(); } , null , "T5" ) after = db.runCommand( { "cursorInfo" : 1 , "setTimeout" : 10000 } ) // 10 seconds gc(); gc() |