summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.