summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSuganthi Mani <suganthi.mani@mongodb.com>2023-09-05 16:22:49 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-09-05 19:48:02 +0000
commit17d52aa6ce2a1a096f74632e0739fbeecf195e34 (patch)
treee6705493b918f99753224104c838fef9c74fae97
parent63397436024403c6aa46d2a122e80884244e8444 (diff)
SERVER-80717 Avoid shard merge tests in non-enterprise multiversion suite.r7.1.0-rc1
(cherry picked from commit c19a106e916d41da9239df6e644fa652ff90cff8)
-rw-r--r--jstests/multiVersion/genericSetFCVUsage/tenant_migration_donor_abort_on_fcv_change.js5
-rw-r--r--jstests/multiVersion/genericSetFCVUsage/tenant_migration_donor_recipient_fcv_mismatch.js5
-rw-r--r--jstests/multiVersion/genericSetFCVUsage/tenant_migration_recipient_abort_on_fcv_change.js5
3 files changed, 15 insertions, 0 deletions
diff --git a/jstests/multiVersion/genericSetFCVUsage/tenant_migration_donor_abort_on_fcv_change.js b/jstests/multiVersion/genericSetFCVUsage/tenant_migration_donor_abort_on_fcv_change.js
index 0b8c5bd3406..a15149f16a4 100644
--- a/jstests/multiVersion/genericSetFCVUsage/tenant_migration_donor_abort_on_fcv_change.js
+++ b/jstests/multiVersion/genericSetFCVUsage/tenant_migration_donor_abort_on_fcv_change.js
@@ -13,6 +13,11 @@ import {TenantMigrationTest} from "jstests/replsets/libs/tenant_migration_test.j
import {makeTenantDB} from "jstests/replsets/libs/tenant_migration_util.js";
import {setLogVerbosity} from "jstests/replsets/rslib.js";
+if (!buildInfo()["modules"].includes("enterprise")) {
+ jsTestLog("Skipping test as it requires the enterprise module");
+ quit();
+}
+
const tenantMigrationTest = new TenantMigrationTest({name: jsTestName()});
const tenantId = ObjectId().str;
diff --git a/jstests/multiVersion/genericSetFCVUsage/tenant_migration_donor_recipient_fcv_mismatch.js b/jstests/multiVersion/genericSetFCVUsage/tenant_migration_donor_recipient_fcv_mismatch.js
index 0bffcf5bc8f..a142f67d966 100644
--- a/jstests/multiVersion/genericSetFCVUsage/tenant_migration_donor_recipient_fcv_mismatch.js
+++ b/jstests/multiVersion/genericSetFCVUsage/tenant_migration_donor_recipient_fcv_mismatch.js
@@ -12,6 +12,11 @@ import {extractUUIDFromObject} from "jstests/libs/uuid_util.js";
import {TenantMigrationTest} from "jstests/replsets/libs/tenant_migration_test.js";
import {isShardMergeEnabled, makeTenantDB} from "jstests/replsets/libs/tenant_migration_util.js";
+if (!buildInfo()["modules"].includes("enterprise")) {
+ jsTestLog("Skipping test as it requires the enterprise module");
+ quit();
+}
+
function runTest(downgradeFCV) {
const tenantMigrationTest = new TenantMigrationTest({name: jsTestName()});
diff --git a/jstests/multiVersion/genericSetFCVUsage/tenant_migration_recipient_abort_on_fcv_change.js b/jstests/multiVersion/genericSetFCVUsage/tenant_migration_recipient_abort_on_fcv_change.js
index 560ce84730a..19e9888c638 100644
--- a/jstests/multiVersion/genericSetFCVUsage/tenant_migration_recipient_abort_on_fcv_change.js
+++ b/jstests/multiVersion/genericSetFCVUsage/tenant_migration_recipient_abort_on_fcv_change.js
@@ -13,6 +13,11 @@ import {TenantMigrationTest} from "jstests/replsets/libs/tenant_migration_test.j
import {makeTenantDB} from "jstests/replsets/libs/tenant_migration_util.js";
import {setLogVerbosity} from "jstests/replsets/rslib.js";
+if (!buildInfo()["modules"].includes("enterprise")) {
+ jsTestLog("Skipping test as it requires the enterprise module");
+ quit();
+}
+
const tenantMigrationTest = new TenantMigrationTest({name: jsTestName()});
const tenantId = ObjectId().str;