-
Notifications
You must be signed in to change notification settings - Fork 4.1k
logictest: allow switching to system tenant connection when testing secondary tenant #79426
Copy link
Copy link
Open
Labels
A-multitenancyRelated to multi-tenancyRelated to multi-tenancyA-testingTesting tools and infrastructureTesting tools and infrastructureC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-testengTestEng TeamTestEng Team
Description
Is your feature request related to a problem? Please describe.
It'd be valuable in logic tests which exercise some secondary tenant functionality to be able to switch to the system tenant in order to adjust some system tenant controlled property and then switch back to the secondary tenant. Today we allow switching connections via the user directive.
Describe the solution you'd like
Perhaps, some extension of the user directive to indicate the tenant.
Jira issue: CRDB-14839
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-multitenancyRelated to multi-tenancyRelated to multi-tenancyA-testingTesting tools and infrastructureTesting tools and infrastructureC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-testengTestEng TeamTestEng Team