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

testserver: add ShareMostTestingKnobsWithTenant option #88557

Merged
merged 1 commit into from Sep 23, 2022

Conversation

stevendanna
Copy link
Collaborator

The new ShareMostTestingKnobs copies nearly all of the testing knobs specified for a TestServer to any tenant started for that server.

The goal here is to make it easier to write tests that depend on testing hooks that work under probabilistic tenant testing.

Release justification: non-production code change

Release note: None

The new ShareMostTestingKnobs copies nearly all of the testing knobs
specified for a TestServer to any tenant started for that server.

The goal here is to make it easier to write tests that depend on
testing hooks that work under probabilistic tenant testing.

Release justification: non-production code change

Release note: None
@stevendanna stevendanna requested review from a team as code owners September 23, 2022 10:15
@stevendanna stevendanna requested review from herkolategan and removed request for a team September 23, 2022 10:15
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@msbutler msbutler left a comment

Choose a reason for hiding this comment

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

Why not share the testing knobs by default?

@stevendanna
Copy link
Collaborator Author

@msbutler Mostly I just didn't want to cause instability elsewhere right now. I figured we can use this in backupccl for a bit to unblock your efforts and then I can try making it the default on master.

@stevendanna
Copy link
Collaborator Author

bors r=msbutler

@craig
Copy link
Contributor

craig bot commented Sep 23, 2022

Build succeeded:

@craig craig bot merged commit 2c18ed3 into cockroachdb:master Sep 23, 2022
@ajstorm
Copy link
Collaborator

ajstorm commented Sep 23, 2022

Another vote for sharing by default :-). Turns out I should have gotten my act together and put this out for review yesterday. Unfortunately, it was on my backlog for a long time.

If there are no objections (@stevendanna), I can merge mine next week and pull out the "maybe" behaviour.

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.

None yet

4 participants