summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/durable_view_catalog.js
diff options
context:
space:
mode:
authorHenrik Edin <henrik.edin@mongodb.com>2018-11-21 10:56:47 -0500
committerHenrik Edin <henrik.edin@mongodb.com>2018-12-04 13:43:46 -0500
commit279fba2819e281053b19507e06b862b852d4e85f (patch)
tree68070313e69f04b677ce4e8ae66c0ddf40014860 /jstests/noPassthrough/durable_view_catalog.js
parentcf8fbf54354a805f0bdb5bc4282c8081f4802971 (diff)
downloadmongo-279fba2819e281053b19507e06b862b852d4e85f.tar.gz
SERVER-38248 Change StringMap implementation to absl::flat_hash_map
Diffstat (limited to 'jstests/noPassthrough/durable_view_catalog.js')
-rw-r--r--jstests/noPassthrough/durable_view_catalog.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/noPassthrough/durable_view_catalog.js b/jstests/noPassthrough/durable_view_catalog.js
index 0bae03ff89d..06702fa5acd 100644
--- a/jstests/noPassthrough/durable_view_catalog.js
+++ b/jstests/noPassthrough/durable_view_catalog.js
@@ -54,7 +54,8 @@
pipeline: x.options.pipeline
};
}));
- assert.eq(listedViews, expectedViews, "persisted view definitions not correctly loaded");
+ assert.sameMembers(
+ listedViews, expectedViews, "persisted view definitions not correctly loaded");
// Insert an invalid view definition directly into system.views to bypass normal validation.
assert.writeOK(viewsDB.system.views.insert({_id: "badView", pipeline: "badType"}));