Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testutils: move tenant or server logic into test server #98844

Merged

Conversation

herkolategan
Copy link
Collaborator

The logic to decide between returning a default test tenant, if one was started, or the server has been added to testcluster previously, but testserver can also benefit from exposing this logic for tests that do not require a whole cluster. Hence, this logic has been refactored to be available in both test cluster and test server.

Epic: CRDB-18499

The logic to decide between returning a default test tenant, if one was started,
or the server has been added to `testcluster` previously, but `testserver` can
also benefit from exposing this logic for tests that do not require a whole
cluster. Hence, this logic has been refactored to be available in both test
cluster and test server.

Epic: CRDB-18499
@herkolategan herkolategan requested review from a team as code owners March 17, 2023 10:02
@herkolategan herkolategan requested review from smg260 and renatolabs and removed request for a team March 17, 2023 10:02
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@knz knz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - but will let steven review this.

Copy link
Collaborator

@stevendanna stevendanna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@herkolategan
Copy link
Collaborator Author

TFTR!

bors r=stevendanna

@craig
Copy link
Contributor

craig bot commented Mar 20, 2023

Build succeeded:

@craig craig bot merged commit 5839fe0 into cockroachdb:master Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants