summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2021-12-06 21:07:30 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-12-06 21:51:22 +0000
commite27dfa10b994f6deff7c59a122b87771cdfa8aba (patch)
tree8e07cdf2eeb9d673269fc54ebb06af2ebd24ac24
parent7c94bb89603010e1fe83e0e72369df2e802324b8 (diff)
downloadmongo-e27dfa10b994f6deff7c59a122b87771cdfa8aba.tar.gz
SERVER-61925 replace runtime --nojournal check with tag for CI system
-rw-r--r--jstests/noPassthrough/timeseries_idle_buckets.js14
1 files changed, 6 insertions, 8 deletions
diff --git a/jstests/noPassthrough/timeseries_idle_buckets.js b/jstests/noPassthrough/timeseries_idle_buckets.js
index be0bbf481c1..4d8c1d048fe 100644
--- a/jstests/noPassthrough/timeseries_idle_buckets.js
+++ b/jstests/noPassthrough/timeseries_idle_buckets.js
@@ -1,19 +1,17 @@
/**
* Tests that idle buckets are removed when the bucket catalog's memory threshold is reached.
+ *
+ * @tags: [
+ * # Replication requires journaling support so this tag also implies exclusion from
+ * # --nojournal test configurations.
+ * requires_replication,
+ * ]
*/
(function() {
"use strict";
load("jstests/core/timeseries/libs/timeseries.js"); // For 'TimeseriesTest'.
-// Skip this test if running with --nojournal and WiredTiger.
-if (jsTest.options().noJournal &&
- (!jsTest.options().storageEngine || jsTest.options().storageEngine === "wiredTiger")) {
- print("Skipping test because running WiredTiger without journaling isn't a valid" +
- " replica set configuration");
- return;
-}
-
const rst = new ReplSetTest({nodes: 1});
rst.startSet({setParameter: {timeseriesIdleBucketExpiryMemoryUsageThreshold: 104857600}});
rst.initiate();