summaryrefslogtreecommitdiff
path: root/jstests/multiVersion
diff options
context:
space:
mode:
authorDan Pasette <dan@10mongodb.com>2014-10-09 14:40:41 -0400
committerDan Pasette <dan@mongodb.com>2014-10-09 14:47:40 -0400
commit1ab6fa5f261fb5233d1592ed5b40a7eefd3bd10a (patch)
tree0949b5df4273fd70a657e8b9af6a637643821510 /jstests/multiVersion
parent2e8ffa26dcc7918f45dd7a3dd17e588aba2d87c0 (diff)
downloadmongo-1ab6fa5f261fb5233d1592ed5b40a7eefd3bd10a.tar.gz
SERVER-13635: remove maxSize from multiVersion stats comparison tests
Diffstat (limited to 'jstests/multiVersion')
-rw-r--r--jstests/multiVersion/libs/verify_collection_data.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/multiVersion/libs/verify_collection_data.js b/jstests/multiVersion/libs/verify_collection_data.js
index 359fa1b9cd7..98d5ec592af 100644
--- a/jstests/multiVersion/libs/verify_collection_data.js
+++ b/jstests/multiVersion/libs/verify_collection_data.js
@@ -119,6 +119,11 @@ function CollectionDataValidator() {
delete newCollectionStats["primary"];
delete newCollectionStats["sharded"];
+ // as of 2.7.8, we added maxSize
+ // TODO: when 2.6 is no longer tested, remove following two lines
+ delete newCollectionStats["maxSize"];
+ delete collectionStats["maxSize"];
+
assert.docEq(collectionStats, newCollectionStats, "collection metadata not equal");
// Get the indexes for this collection