summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/timeseries_sample.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/timeseries_sample.js')
-rw-r--r--jstests/noPassthrough/timeseries_sample.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/jstests/noPassthrough/timeseries_sample.js b/jstests/noPassthrough/timeseries_sample.js
index 9d0bdc76b6b..d834f04ed09 100644
--- a/jstests/noPassthrough/timeseries_sample.js
+++ b/jstests/noPassthrough/timeseries_sample.js
@@ -8,7 +8,6 @@
(function() {
"use strict";
-load("jstests/core/timeseries/libs/timeseries.js");
load("jstests/libs/analyze_plan.js");
let conn = MongoRunner.runMongod({setParameter: {timeseriesBucketMaxCount: 100}});
@@ -25,12 +24,6 @@ const dbName = jsTestName();
let testDB = conn.getDB(dbName);
assert.commandWorked(testDB.dropDatabase());
-if (!TimeseriesTest.timeseriesCollectionsEnabled(testDB.getMongo())) {
- jsTestLog("Skipping test because the time-series collection feature flag is disabled");
- MongoRunner.stopMongod(conn);
- return;
-}
-
const nBuckets = 40;
const timeFieldName = "time";