-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multitenant: add roachtest utility funcs for in-process tenants
Currently, a user can only observe the db console for the app tenant in a secure cluster, after logging in with a provided role. This small patch adds the createTenantAdminRole utility function which allows the roachtest writer to create an admin role for the provided tenant, with the user name "secure" and password "roach". Once the roachtest writer has called this function for each tenant in their cluster, they can log into the db console and toggle between tenant db consoles. This patch also adds the createInMemoryTenant() function which makes it easy for a roachtest writer to create an in-memory tenant. Epic: none Release note: None
- Loading branch information
Showing
5 changed files
with
71 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters