Use the new enum name OPTIONAL_TENANT

This commit is contained in:
A.J. Beamon 2022-03-08 15:53:05 -08:00
parent 49064054f6
commit 9e39ebd069
1 changed files with 2 additions and 2 deletions

View File

@ -2349,10 +2349,10 @@ ACTOR void setupAndRun(std::string dataFolder,
if (deterministicRandom()->random01() < 0.9) {
tenantMode = TenantMode::REQUIRED;
} else {
tenantMode = TenantMode::OPTIONAL;
tenantMode = TenantMode::OPTIONAL_TENANT;
}
} else if (!allowDisablingTenants || deterministicRandom()->random01() < 0.5) {
tenantMode = TenantMode::OPTIONAL;
tenantMode = TenantMode::OPTIONAL_TENANT;
}
TraceEvent("SimulatedClusterTenantMode")