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

kvserver: Replace createTestStore with TestServer #61644

Merged
merged 1 commit into from
Mar 9, 2021

Conversation

lunevalex
Copy link
Collaborator

With multiTestContext gone, we cleanup the rest of the code
in client_test and remove the redundant createTestStore paradigm
in favor of TestServer.

Release justification: Test clean-up, does not affect production code:
Release note: None

With multiTestContext gone, we cleanup the rest of the code
in client_test and remove the redundant createTestStore paradigm
in favor of TestServer.

Release justification: Test clean-up, does not affect production code:
Release note: None
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@lunevalex lunevalex requested a review from tbg March 9, 2021 04:44
Copy link
Member

@tbg tbg left a comment

Choose a reason for hiding this comment

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

💯

@lunevalex
Copy link
Collaborator Author

TFTR!
bors r+

@craig
Copy link
Contributor

craig bot commented Mar 9, 2021

Build succeeded:

@craig craig bot merged commit a080a05 into cockroachdb:master Mar 9, 2021
lunevalex added a commit to lunevalex/cockroach that referenced this pull request Mar 11, 2021
Fixes cockroachdb#54646

PR cockroachdb#61644 introduced a bug into the TestEagerReplication test.
Using a single TestServer sets the default zone config to require
only one replica, which means the split in this test does not
trigger a replication attempt. This PR sets the PartOfCluster parameter
on the TestServer to disable that behavior.

Release note: None
craig bot pushed a commit that referenced this pull request Mar 15, 2021
61847: kvserver: fix TestEagerReplication r=lunevalex a=lunevalex

Fixes #54646

PR #61644 introduced a bug into the TestEagerReplication test.
Using a single TestServer sets the default zone config to require
only one replica, which means the split in this test does not
trigger a replication attempt. This PR sets the PartOfCluster parameter
on the TestServer to disable that behavior.

Release note: None

Co-authored-by: Alex Lunev <[email protected]>
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