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

serverutils: remove ad-hoc code from StartNewTestCluster #108402

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

knz
Copy link
Contributor

@knz knz commented Aug 9, 2023

This function is a convenience alias for NewTestCluster+Start. This should not contain custom logic specific to certain tests. Any custom logic should be conditional on testing knobs and put inside (*testcluster.TestCluster).Start() instead.

(The code removed here was mistakenly added in the wrong place in 70f85cd).

Release note: None
Needed for #107986.
Epic: CRDB-18499

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@knz knz force-pushed the 20230807-tc-check branch from c6e61c2 to af8d686 Compare August 9, 2023 01:59
@knz knz requested a review from yuzefovich August 9, 2023 20:33
@knz knz marked this pull request as ready for review August 9, 2023 20:33
This function is a convenience alias for NewTestCluster+Start.
This should not contain custom logic specific to certain tests.
Any custom logic should be conditional on testing knobs and put
inside `(*testcluster.TestCluster).Start()` instead.

(The code removed here was mistakenly added in the wrong place in 70f85cd).

Release note: None
@knz knz force-pushed the 20230807-tc-check branch from af8d686 to 6f3652a Compare August 9, 2023 20:34
Copy link
Member

@yuzefovich yuzefovich left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @knz)

@knz
Copy link
Contributor Author

knz commented Aug 10, 2023

bors r=yuzefovich

@craig craig bot merged commit f194f92 into cockroachdb:master Aug 10, 2023
@craig
Copy link
Contributor

craig bot commented Aug 10, 2023

Build succeeded:

@knz knz deleted the 20230807-tc-check branch August 10, 2023 20:57
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.

3 participants