summaryrefslogtreecommitdiff
path: root/jstests/sharding/timeseries_insert.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/timeseries_insert.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/timeseries_insert.js')
-rw-r--r--jstests/sharding/timeseries_insert.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/jstests/sharding/timeseries_insert.js b/jstests/sharding/timeseries_insert.js
index d68581dded5..17f271f0f0e 100644
--- a/jstests/sharding/timeseries_insert.js
+++ b/jstests/sharding/timeseries_insert.js
@@ -24,12 +24,6 @@ const st = new ShardingTest({shards: 2, rs: {nodes: 2}});
const mongos = st.s0;
// Sanity checks.
-if (!TimeseriesTest.timeseriesCollectionsEnabled(st.shard0)) {
- jsTestLog("Skipping test because the time-series collection feature flag is disabled");
- st.stop();
- return;
-}
-
if (!TimeseriesTest.shardedtimeseriesCollectionsEnabled(st.shard0)) {
jsTestLog("Skipping test because the sharded time-series collection feature flag is disabled");
st.stop();