Skip to content

kvserver: Replace createTestStore with TestServer#61644

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
lunevalex:alex/remove-create-test-store
Mar 9, 2021
Merged

kvserver: Replace createTestStore with TestServer#61644
craig[bot] merged 1 commit intocockroachdb:masterfrom
lunevalex:alex/remove-create-test-store

Conversation

@lunevalex
Copy link
Copy Markdown

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
Copy Markdown
Member

This change is Reviewable

@lunevalex lunevalex requested a review from tbg March 9, 2021 04:44
Copy link
Copy Markdown
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
Copy Markdown
Author

TFTR!
bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 9, 2021

Build succeeded:

@craig craig bot merged commit a080a05 into cockroachdb:master Mar 9, 2021
lunevalex pushed 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 <alexl@cockroachlabs.com>
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