summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/timeseries_create.js
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2021-10-22 13:54:31 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-22 18:32:21 +0000
commit3e624637c609595a0eee09ba64cbb781ff1e3536 (patch)
tree121a562f1a3f91e0f15d744441c1a49c9e6a7652 /jstests/noPassthrough/timeseries_create.js
parent4d443cff026e216f043e1e2b6c46cf526168f2af (diff)
downloadmongo-3e624637c609595a0eee09ba64cbb781ff1e3536.tar.gz
SERVER-60623 remove TimeseriesTest.timeseriesCollectionsEnabled() references from non-core tests
Time-series collections are enabled by default, making these checks no longer necessary.
Diffstat (limited to 'jstests/noPassthrough/timeseries_create.js')
-rw-r--r--jstests/noPassthrough/timeseries_create.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/jstests/noPassthrough/timeseries_create.js b/jstests/noPassthrough/timeseries_create.js
index 3b74503abc2..71e04e23b61 100644
--- a/jstests/noPassthrough/timeseries_create.js
+++ b/jstests/noPassthrough/timeseries_create.js
@@ -8,16 +8,8 @@
(function() {
"use strict";
-load("jstests/core/timeseries/libs/timeseries.js");
-
const conn = MongoRunner.runMongod();
-if (!TimeseriesTest.timeseriesCollectionsEnabled(conn)) {
- jsTestLog("Skipping test because the time-series collection feature flag is disabled");
- MongoRunner.stopMongod(conn);
- return;
-}
-
const dbName = jsTestName();
let collCount = 0;