diff options
author | Benety Goh <benety@mongodb.com> | 2016-07-06 11:22:27 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2016-07-07 09:56:37 -0400 |
commit | 128fdb36721138c94eb2a00bd59d4361839cd0dd (patch) | |
tree | ed17c6b0ae48136e54f0d6240eb0f75f7927d99c /jstests/replsets/commands_that_write_accept_wc.js | |
parent | 56ebd8ce50af94b5beaa8af8f6b2da1d1accd44a (diff) | |
download | mongo-128fdb36721138c94eb2a00bd59d4361839cd0dd.tar.gz |
SERVER-24901 do not use fast count when checking collection size in replset tests
Diffstat (limited to 'jstests/replsets/commands_that_write_accept_wc.js')
-rw-r--r-- | jstests/replsets/commands_that_write_accept_wc.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/commands_that_write_accept_wc.js b/jstests/replsets/commands_that_write_accept_wc.js index 83a341767c2..64e52d4c6c6 100644 --- a/jstests/replsets/commands_that_write_accept_wc.js +++ b/jstests/replsets/commands_that_write_accept_wc.js @@ -22,7 +22,7 @@ load('jstests/libs/write_concern_util.js'); function dropTestCollection() { coll.drop(); - assert.eq(0, coll.find().count(), "test collection not empty"); + assert.eq(0, coll.find().itcount(), "test collection not empty"); } dropTestCollection(); @@ -147,4 +147,4 @@ load('jstests/libs/write_concern_util.js'); testInvalidWriteConcern(cmd); }); -})();
\ No newline at end of file +})(); |