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: deflake TestReadLoadMetricAccounting #141843

Merged
merged 2 commits into from
Feb 21, 2025

Conversation

pav-kv
Copy link
Collaborator

@pav-kv pav-kv commented Feb 21, 2025

Occasionally, a leader lease upgrade request interferes with the metrics measured by this test. This commit makes it wait for the upgrade first, before checking metrics.

Fixes #141716

@pav-kv pav-kv requested a review from arulajmani February 21, 2025 16:13
@pav-kv pav-kv requested a review from a team as a code owner February 21, 2025 16:13
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@pav-kv pav-kv force-pushed the deflake-load-metric-test branch from 622c900 to 42e78a2 Compare February 21, 2025 16:14
Occasionally, a leader lease upgrade request interferes with the metrics
measured by this test. This commit makes it wait for the upgrade first,
before checking metrics.

Epic: none
Releaste note: none
@pav-kv pav-kv force-pushed the deflake-load-metric-test branch from 42e78a2 to 55d1505 Compare February 21, 2025 16:15
@pav-kv
Copy link
Collaborator Author

pav-kv commented Feb 21, 2025

bors r=tbg

Copy link
Collaborator

@arulajmani arulajmani left a comment

Choose a reason for hiding this comment

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

Reviewed 3 of 3 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @pav-kv)

@craig
Copy link
Contributor

craig bot commented Feb 21, 2025

@craig craig bot merged commit 09d4505 into cockroachdb:master Feb 21, 2025
22 of 24 checks passed
@pav-kv pav-kv deleted the deflake-load-metric-test branch February 21, 2025 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kv/kvserver: TestReadLoadMetricAccounting failed
4 participants