summaryrefslogtreecommitdiff
path: root/jstests/sharding/sample_timeseries.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/sharding/sample_timeseries.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/sharding/sample_timeseries.js')
-rw-r--r--jstests/sharding/sample_timeseries.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/jstests/sharding/sample_timeseries.js b/jstests/sharding/sample_timeseries.js
index 12317865c24..a92603f2a89 100644
--- a/jstests/sharding/sample_timeseries.js
+++ b/jstests/sharding/sample_timeseries.js
@@ -25,12 +25,6 @@ const primaryDB = primary.getDB(dbName);
const otherShard = st.shard1;
const otherShardDB = otherShard.getDB(dbName);
-if (!TimeseriesTest.timeseriesCollectionsEnabled(primary)) {
- jsTestLog("Skipping test because the time-series collection feature flag is disabled");
- st.stop();
- return;
-}
-
if (!TimeseriesTest.shardedtimeseriesCollectionsEnabled(primary)) {
jsTestLog("Skipping test because the sharded time-series collection feature flag is disabled");
st.stop();