0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00

SERVER-7572 - minor fix to test

This commit is contained in:
Daniel Pasette 2012-12-21 11:28:51 -05:00
parent e6b9a252c4
commit b3daf37dc9

View File

@ -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 } );