SERVER-52936 Remove featureFlagTenantMigration

This commit is contained in:
Jason Chan
2021-08-17 23:08:47 +00:00
committed by Evergreen Agent
parent 7cb407c0a2
commit 8fdfe55ebd
109 changed files with 25 additions and 738 deletions

View File

@@ -14,10 +14,6 @@ load("jstests/replsets/libs/tenant_migration_test.js");
load("jstests/replsets/libs/tenant_migration_util.js");
const tenantMigrationTest = new TenantMigrationTest({name: jsTestName()});
if (!tenantMigrationTest.isFeatureFlagEnabled()) {
jsTestLog("Skipping test because the tenant migrations feature flag is disabled");
return;
}
const tenantId = "testTenantId";
const dbName = tenantMigrationTest.tenantDB(tenantId, "testDB");

View File

@@ -14,10 +14,6 @@ function runTest(downgradeFCV) {
load("jstests/replsets/libs/tenant_migration_util.js");
const tenantMigrationTest = new TenantMigrationTest({name: jsTestName()});
if (!tenantMigrationTest.isFeatureFlagEnabled()) {
jsTestLog("Skipping test because the tenant migrations feature flag is disabled");
return;
}
const tenantId = "testTenantId";
const dbName = tenantMigrationTest.tenantDB(tenantId, "testDB");
@@ -60,5 +56,8 @@ function runTest(downgradeFCV) {
tenantMigrationTest.stop();
}
runFeatureFlagMultiversionTest('featureFlagTenantMigrations', runTest);
runTest(lastContinuousFCV);
if (lastContinuousFCV != lastLTSFCV) {
runTest(lastLTSFCV);
}
})();

View File

@@ -15,10 +15,6 @@ function runTest(downgradeFCV) {
load("jstests/replsets/libs/tenant_migration_util.js");
const tenantMigrationTest = new TenantMigrationTest({name: jsTestName()});
if (!tenantMigrationTest.isFeatureFlagEnabled()) {
jsTestLog("Skipping test because the tenant migrations feature flag is disabled");
return;
}
const tenantId = "testTenantId";
const dbName = tenantMigrationTest.tenantDB(tenantId, "testDB");
@@ -69,5 +65,8 @@ function runTest(downgradeFCV) {
tenantMigrationTest.stop();
}
runFeatureFlagMultiversionTest('featureFlagTenantMigrations', runTest);
runTest(lastContinuousFCV);
if (lastContinuousFCV != lastLTSFCV) {
runTest(lastLTSFCV);
}
})();

View File

@@ -14,10 +14,6 @@ load("jstests/replsets/libs/tenant_migration_test.js");
load("jstests/replsets/libs/tenant_migration_util.js");
const tenantMigrationTest = new TenantMigrationTest({name: jsTestName()});
if (!tenantMigrationTest.isFeatureFlagEnabled()) {
jsTestLog("Skipping test because the tenant migrations feature flag is disabled");
return;
}
const tenantId = "testTenantId";
const dbName = tenantMigrationTest.tenantDB(tenantId, "testDB");

View File

@@ -22,11 +22,6 @@ function runTest(downgradeFCV) {
recipientRst.startSet();
recipientRst.initiate();
if (!TenantMigrationUtil.isFeatureFlagEnabled(recipientRst.getPrimary())) {
jsTestLog("Skipping test because the tenant migrations feature flag is disabled");
recipientRst.stopSet();
return;
}
const tenantMigrationTest =
new TenantMigrationTest({name: jsTestName(), recipientRst: recipientRst});
@@ -77,5 +72,8 @@ function runTest(downgradeFCV) {
recipientRst.stopSet();
}
runFeatureFlagMultiversionTest('featureFlagTenantMigrations', runTest);
runTest(lastContinuousFCV);
if (lastContinuousFCV != lastLTSFCV) {
runTest(lastLTSFCV);
}
})();