set assignedcluster in tenantmanagement workload
This commit is contained in:
parent
64a06f6c6b
commit
bfd2d138f7
|
@ -310,6 +310,9 @@ struct TenantManagementWorkload : TestWorkload {
|
|||
wait(tr->commit());
|
||||
} else {
|
||||
ASSERT(tenantsToCreate.size() == 1);
|
||||
if (deterministicRandom()->coinflip()) {
|
||||
tenantsToCreate.begin()->second.assignedCluster = self->dataClusterName;
|
||||
}
|
||||
wait(MetaclusterAPI::createTenant(
|
||||
self->mvDb, tenantsToCreate.begin()->first, tenantsToCreate.begin()->second));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue