diff options
Diffstat (limited to 'jstests/core/cursorb.js')
-rw-r--r-- | jstests/core/cursorb.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/cursorb.js b/jstests/core/cursorb.js index 65e356e89cb..70f49c50454 100644 --- a/jstests/core/cursorb.js +++ b/jstests/core/cursorb.js @@ -12,6 +12,6 @@ t.find().itcount(); // Check that the 'cursor not found in map -1' message is not printed. This message indicates an // attempt to look up a cursor with an invalid id and should never appear in the log. -log = db.adminCommand( { getLog:'global' } ).log +log = db.adminCommand( { getLog:'global' } ).log; log.forEach( function( line ) { assert( !line.match( /cursor not found in map -1 / ), 'Cursor map lookup with id -1.' ); } ); |