summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg McKeon <greg.mckeon@mongodb.com>2019-11-13 08:51:28 -0500
committerGreg McKeon <greg.mckeon@mongodb.com>2019-11-13 08:51:28 -0500
commit7c9fa6bd908c57d547b004e840c9d81edc5a6550 (patch)
treee8b66144977f046a90ad977ce5179515501f37e4
parent6184c48a63ddae7da35604d8f95397afb480dbc8 (diff)
downloadmongo-v4.2.1-dbaas-testing.tar.gz
Ban tests that drop profile collectionv4.2.1-dbaas-testing
-rw-r--r--jstests/aggregation/optimize_away_pipeline.js2
-rw-r--r--jstests/aggregation/sources/lookup/profile_lookup.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/jstests/aggregation/optimize_away_pipeline.js b/jstests/aggregation/optimize_away_pipeline.js
index 8ca82dd3ed6..24ee8f25c3f 100644
--- a/jstests/aggregation/optimize_away_pipeline.js
+++ b/jstests/aggregation/optimize_away_pipeline.js
@@ -7,7 +7,7 @@
// be wrapped into a facet stage to not prevent this optimization.
// TODO SERVER-40323: Plan analyzer helper functions cannot correctly handle explain output for
// sharded collections.
-// @tags: [do_not_wrap_aggregations_in_facets, assumes_unsharded_collection]
+// @tags: [do_not_wrap_aggregations_in_facets, assumes_unsharded_collection, assumes_superuser_permissions]
(function() {
"use strict";
diff --git a/jstests/aggregation/sources/lookup/profile_lookup.js b/jstests/aggregation/sources/lookup/profile_lookup.js
index f2c9df8331c..0f6c5d625d4 100644
--- a/jstests/aggregation/sources/lookup/profile_lookup.js
+++ b/jstests/aggregation/sources/lookup/profile_lookup.js
@@ -1,4 +1,4 @@
-// @tags: [does_not_support_stepdowns, requires_profiling]
+// @tags: [does_not_support_stepdowns, requires_profiling, assumes_superuser_permissions]
//
// Tests that profiled $lookups contain the correct namespace and that Top is updated accordingly.