From 7c9fa6bd908c57d547b004e840c9d81edc5a6550 Mon Sep 17 00:00:00 2001 From: Greg McKeon Date: Wed, 13 Nov 2019 08:51:28 -0500 Subject: Ban tests that drop profile collection --- jstests/aggregation/optimize_away_pipeline.js | 2 +- jstests/aggregation/sources/lookup/profile_lookup.js | 2 +- 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. -- cgit v1.2.1