diff --git a/jstests/slowNightly/ttl1.js b/jstests/slowNightly/ttl1.js index f795d8bc0ff..683e5332ae2 100644 --- a/jstests/slowNightly/ttl1.js +++ b/jstests/slowNightly/ttl1.js @@ -39,7 +39,7 @@ assert.eq( 0 , t.find( { x : { $lt : new Date( now - 20000000 ) } } ).count() ); assert.eq( 12 , t.count() ); assert.lte( 18, db.serverStatus().metrics.ttl.deletedDocuments ); -assert.lte( 1, db.serverStatus().metrics.ttl.passes ); +assert.gte( 1, db.serverStatus().metrics.ttl.passes ); // Part 2 t.ensureIndex( { y : 1 } , { expireAfterSeconds : 10000 } );