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 TestReplicaProbeRequest #98747

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

tbg
Copy link
Member

@tbg tbg commented Mar 16, 2023

When we ignored an ambigous result but the probe didn't actually happen,
a later condition in the test would fail.

Retry the probe on ambiguous results instead; the test already only
expects the probe to happen "at least once", so we don't introduce
any new issues should a successful probe end up being retried.

Fixes #97136.

Epic: none
Release note: None

When we ignored an ambigous result but the probe didn't actually happen,
a later condition in the test would fail.

Retry the probe on ambiguous results instead; the test already only
expects the probe to happen "at least once", so we don't introduce
any new issues should a successful probe end up being retried.

Fixes cockroachdb#97136.

Epic: none
Release note: None
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@tbg tbg requested review from pav-kv and aliher1911 March 16, 2023 09:16
@tbg tbg marked this pull request as ready for review March 16, 2023 09:16
@tbg tbg requested a review from a team March 16, 2023 09:16
@tbg
Copy link
Member Author

tbg commented Mar 16, 2023

bors r=pavelkalinnikov
TFTR!

@craig
Copy link
Contributor

craig bot commented Mar 16, 2023

Build succeeded:

@craig craig bot merged commit 7109264 into cockroachdb:master Mar 16, 2023
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.

kvserver: TestReplicaProbeRequest flaked on master
3 participants