summaryrefslogtreecommitdiff
path: root/jstests/aggregation
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2021-10-22 11:27:52 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-22 16:13:39 +0000
commitf674422c7489dca8a9ef4c19a38b26d79a3e9321 (patch)
tree4a0348a201bdadac1be7991a9a0c5daedabc204c /jstests/aggregation
parent68073b2af83af85dcf8512077f2f339ffbcd4548 (diff)
downloadmongo-f674422c7489dca8a9ef4c19a38b26d79a3e9321.tar.gz
SERVER-60623 remove time-series feature flag reference from aggregation test
Time-series collections are enabled by default, making this check unnecessary.
Diffstat (limited to 'jstests/aggregation')
-rw-r--r--jstests/aggregation/sources/setWindowFields/window_functions_on_timeseries_coll.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/jstests/aggregation/sources/setWindowFields/window_functions_on_timeseries_coll.js b/jstests/aggregation/sources/setWindowFields/window_functions_on_timeseries_coll.js
index 3df9fad67e3..38a928c72d7 100644
--- a/jstests/aggregation/sources/setWindowFields/window_functions_on_timeseries_coll.js
+++ b/jstests/aggregation/sources/setWindowFields/window_functions_on_timeseries_coll.js
@@ -17,14 +17,6 @@
load("jstests/aggregation/extras/utils.js"); // For arrayEq.
load("jstests/libs/analyze_plan.js"); // For getAggPlanStage().
-const timeseriesEnabled =
- assert.commandWorked(db.adminCommand({getParameter: 1, featureFlagTimeseriesCollection: 1}))
- .featureFlagTimeseriesCollection.value;
-if (!timeseriesEnabled) {
- jsTestLog("Skipping test because the time-series collection feature flag is disabled");
- return;
-}
-
const coll = db.window_functions_on_timeseries_coll;
coll.drop();