From b3daf37dc9cd3c679f6d108dd7f1322b7428455d Mon Sep 17 00:00:00 2001 From: Daniel Pasette Date: Fri, 21 Dec 2012 11:28:51 -0500 Subject: [PATCH] SERVER-7572 - minor fix to test --- jstests/slowNightly/ttl1.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } );