cockroachdb / cockroach

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.
https://www.cockroachlabs.com
Other
30.07k stars 3.8k forks source link

multi-tenant: Enable tenant testing on admin API #81590

Open ajstorm opened 2 years ago

ajstorm commented 2 years ago

Currently all tests which leverage the admin API are not eligible for randomized testing within tenants due to the fact that the admin API isn't accessible within tenants. With plans to unify the architecture such that we're running multi-tenanted environments everywhere, we'll need the admin API to work within tenants (though it may require elevated privileges).

This issue should enable the tests inside admin_test.go such that they can run probabilistically within tenants.

Jira issue: CRDB-15969

Epic CRDB-31933

blathers-crl[bot] commented 1 year ago

cc @cockroachdb/test-eng