Skip to content

kvserver: fix flake in TestStoreMetrics#62660

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
lunevalex:alex/metrics-test-flake
Mar 30, 2021
Merged

kvserver: fix flake in TestStoreMetrics#62660
craig[bot] merged 1 commit intocockroachdb:masterfrom
lunevalex:alex/metrics-test-flake

Conversation

@lunevalex
Copy link
Copy Markdown

Fixes #60146

When TestStoreMetrics was converted to use TestCluster in #59670.
The verifyStats method was changed to not stop the stores anymore
that was a mistake that caused this flake. This change adds back the
stopping and fixes a race with lease transfers.

Release note: None

Fixes cockroachdb#60146

When TestStoreMetrics was converted to use TestCluster in cockroachdb#59670.
The verifyStats method was changed to not stop the stores anymore
that was a mistake that caused this flake. This change adds back the
stopping and fixes a race with lease transfers.

Release note: None
@lunevalex lunevalex requested a review from tbg March 26, 2021 14:10
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@tbg tbg requested a review from a team March 26, 2021 19:22
Copy link
Copy Markdown
Contributor

@erikgrinaker erikgrinaker 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.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @tbg)

@lunevalex
Copy link
Copy Markdown
Author

TFTR!

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 30, 2021

Build succeeded:

@craig craig bot merged commit b521fbe into cockroachdb:master Mar 30, 2021
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.

kv/kvserver: TestStoreMetrics failed

3 participants