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

release-21.1: kvserver: deflake TestMergeQueue #66046

Merged

Conversation

aayushshah15
Copy link
Contributor

The test started flaking after ce73bc1. The issue was that there was a race
between when the merge queue was enabled via an Override() call and when
these tests assert that a given range actually got merged away. In other words,
these tests were sometime getting to their assertion before the relevant server
learned that the merge queue was enabled.

This patch modifies the test to instead enable the merge queue via SQL and not
through the Override() call.

Resolves #64866
Resolves #64056
Resolves #63009

Release note: None

The test started flaking after ce73bc1. The issue was that there was a race
between when the merge queue was enabled via an `Override()` call and when
these tests assert that a given range actually got merged away. In other words,
these tests were sometime getting to their assertion before the relevant server
learned that the merge queue was enabled.

This patch modifies the test to instead enable the merge queue via SQL and not
through the `Override()` call.

Resolves cockroachdb#64866
Resolves cockroachdb#64056
Resolves cockroachdb#63009

Release note: None
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@aayushshah15 aayushshah15 merged commit bb242a2 into cockroachdb:release-21.1 Jun 4, 2021
@aayushshah15 aayushshah15 deleted the backport21.1-65912 branch June 4, 2021 15:09
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