diff options
author | Benety Goh <benety@mongodb.com> | 2021-10-22 13:54:31 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-10-22 18:32:21 +0000 |
commit | 3e624637c609595a0eee09ba64cbb781ff1e3536 (patch) | |
tree | 121a562f1a3f91e0f15d744441c1a49c9e6a7652 /jstests/noPassthrough/timeseries_sample.js | |
parent | 4d443cff026e216f043e1e2b6c46cf526168f2af (diff) | |
download | mongo-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_sample.js')
-rw-r--r-- | jstests/noPassthrough/timeseries_sample.js | 7 |
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"; |