SERVER-80717 Avoid shard merge tests in non-enterprise multiversion suite.

This commit is contained in:
Suganthi Mani 2023-09-05 16:22:49 +00:00 committed by Evergreen Agent
parent d0c8613d72
commit c19a106e91
3 changed files with 15 additions and 0 deletions

View File

@ -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;

View File

@ -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()});

View File

@ -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;