diff options
author | Dan Pasette <dan@10mongodb.com> | 2014-10-09 14:40:41 -0400 |
---|---|---|
committer | Dan Pasette <dan@mongodb.com> | 2014-10-09 14:47:40 -0400 |
commit | 1ab6fa5f261fb5233d1592ed5b40a7eefd3bd10a (patch) | |
tree | 0949b5df4273fd70a657e8b9af6a637643821510 /jstests/multiVersion | |
parent | 2e8ffa26dcc7918f45dd7a3dd17e588aba2d87c0 (diff) | |
download | mongo-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.js | 5 |
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 |