diff options
-rw-r--r-- | jstests/sharding/auto2.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/auto2.js b/jstests/sharding/auto2.js index aaadb13810e..5ac9cd990e4 100644 --- a/jstests/sharding/auto2.js +++ b/jstests/sharding/auto2.js @@ -102,14 +102,14 @@ for ( i =0; i<100; i++ ) t.save( { _id : i } ); for ( i=0; i<100; i++ ){ t.find().batchSize( 2 ).next(); - assert.lt( 0 , db.runCommand( "cursorInfo" ).total , "cursor1" ); + assert.lt( 0 , db.runCommand( "cursorInfo" ).totalOpen , "cursor1" ); gc(); } for ( i=0; i<100; i++ ){ gc(); } -assert.eq( 0 , db.runCommand( "cursorInfo" ).total , "cursor2" ); +assert.eq( 0 , db.runCommand( "cursorInfo" ).totalOpen , "cursor2" ); print( "checkpoint E") |