diff options
Diffstat (limited to 'jstests/replsets/capped_insert_order.js')
-rw-r--r-- | jstests/replsets/capped_insert_order.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/capped_insert_order.js b/jstests/replsets/capped_insert_order.js index 0b17f9ff144..037da74c2b6 100644 --- a/jstests/replsets/capped_insert_order.js +++ b/jstests/replsets/capped_insert_order.js @@ -32,7 +32,7 @@ replTest.awaitReplication(); function checkCollection(coll) { - assert.eq(coll.count(), nDocuments); + assert.eq(coll.find().itcount(), nDocuments); var i = 0; coll.find().forEach(function(doc) { |