diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-03-21 15:33:16 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-03-22 14:26:03 -0400 |
commit | 34dcbcb6688729e20cf817d030460784dd2d32cb (patch) | |
tree | b8c6e17eb6be2c5f28a3651c02b9c007bdc11c25 /jstests | |
parent | bc8db13a5be79fa99e2e2f39fb5e00692828f7b3 (diff) | |
download | mongo-34dcbcb6688729e20cf817d030460784dd2d32cb.tar.gz |
SERVER-28101 Remove usages of fast count in zbigMapReduce.js
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/sharding/zbigMapReduce.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/zbigMapReduce.js b/jstests/sharding/zbigMapReduce.js index cc612eb7510..69769161a88 100644 --- a/jstests/sharding/zbigMapReduce.js +++ b/jstests/sharding/zbigMapReduce.js @@ -221,9 +221,9 @@ function runTest(s) { // that replication can keep up even on slow machines. s.stopBalancer(); s._rs[0].test.awaitReplication(); - assert.eq(51200, primary.getDB("test")[outcol].count(), "Wrong count"); + assert.eq(51200, primary.getDB("test")[outcol].find().itcount(), "Wrong count"); for (var i = 0; i < secondaries.length; ++i) { - assert.eq(51200, secondaries[i].getDB("test")[outcol].count(), "Wrong count"); + assert.eq(51200, secondaries[i].getDB("test")[outcol].find().itcount(), "Wrong count"); } } |