diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-09-16 12:37:28 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-09-16 17:31:26 -0400 |
commit | 81022044c190333da51620a06f75848229819830 (patch) | |
tree | af27af8fa7c5492bf8d0bec2692b9edb04577d1c | |
parent | 84f4c2dd3e9098b2fed8281d40c89f251b51db2a (diff) | |
download | mongo-81022044c190333da51620a06f75848229819830.tar.gz |
SERVER-26138 Do not use 'count' in shard_with_special_db_names.js
-rw-r--r-- | jstests/sharding/shard_with_special_db_names.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/jstests/sharding/shard_with_special_db_names.js b/jstests/sharding/shard_with_special_db_names.js index 2eb6a3993da..06ad92ab5e9 100644 --- a/jstests/sharding/shard_with_special_db_names.js +++ b/jstests/sharding/shard_with_special_db_names.js @@ -21,9 +21,8 @@ s.getDB(specialDB).dropDatabase(); var cursor = s.getDB("config").collections.find({_id: specialNS}); - - assert.eq(cursor.count(), 1); assert(cursor.next()["dropped"]); + assert(!cursor.hasNext()); s.stop(); })(); |