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 TestLeasePreferencesDuringOutage #103636

Merged
merged 1 commit into from
May 31, 2023

Conversation

aliher1911
Copy link
Contributor

@aliher1911 aliher1911 commented May 18, 2023

Test didn't accomodate for lease type changes on the same leaseholder in its assertions.

Release note: None

Fixes #103398

@aliher1911 aliher1911 added backport-22.2.x backport-23.1.x Flags PRs that need to be backported to 23.1 labels May 18, 2023
@aliher1911 aliher1911 self-assigned this May 18, 2023
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@aliher1911
Copy link
Contributor Author

Unfortunately this test also flakes when enqueueing replica into replication queue. But it happens very infrequently. So I'll leave it to the next person to look if it ever flakes. Added an assertion message there.

@aliher1911 aliher1911 force-pushed the fix_lease_preference_test branch 3 times, most recently from 60605f6 to ce00458 Compare May 19, 2023 09:22
@aliher1911 aliher1911 requested a review from a team May 19, 2023 09:23
@aliher1911 aliher1911 marked this pull request as ready for review May 19, 2023 09:23
@aliher1911 aliher1911 requested a review from a team as a code owner May 19, 2023 09:23
@erikgrinaker
Copy link
Contributor

This test is skipped, can you remove the skip.WithIssue() call and resolve #88769?

@aliher1911 aliher1911 force-pushed the fix_lease_preference_test branch from ce00458 to 4918fbd Compare May 19, 2023 13:37
Test didn't accomodate for lease type changes on the same
leaseholder in its assertions.

Release note: None
@aliher1911
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented May 30, 2023

Build failed (retrying...):

@craig
Copy link
Contributor

craig bot commented May 31, 2023

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-23.1.x Flags PRs that need to be backported to 23.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kv/kvserver: TestLeasePreferencesDuringOutage failed
3 participants