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

SERVER-47010 Fix ttl_sharded.js logging

This commit is contained in:
Esha Maharishi 2020-06-24 16:27:47 -04:00 committed by Evergreen Agent
parent 29b431208c
commit d7c1c471a5

View File

@ -43,8 +43,10 @@ assert.soon(
function() {
return t.count() === 6 && t.find({x: {$lt: new Date(now - 20000000)}}).count() === 0;
},
"TTL index did not successfully delete expired documents, all documents: " +
tojson(t.find().toArray()),
function() {
return "TTL index did not successfully delete expired documents, all documents: " +
tojson(t.find().toArray());
},
70 * 1000);
// now lets check things explicily on each shard