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

tenantrate: fix test flake #63664

Merged
merged 1 commit into from
Apr 15, 2021
Merged

Conversation

RaduBerinde
Copy link
Member

The way the test interacts with the configuration (through cluster
settings) is flaky - when we modify multiple settings and the head of
the queue gets notified, it might or might not observe the
intermediary state.

This commit cleans things up: the test now directly updates the config
rather than going through the cluster settings.

Fixes #63621.

Release note: None

@RaduBerinde RaduBerinde requested a review from ajwerner April 14, 2021 20:21
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

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

Needs a make bazel-generate but :lgtm:

Reviewed 5 of 5 files at r1.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @RaduBerinde)

The way the test interacts with the configuration (through cluster
settings) is flaky - when we modify multiple settings and the head of
the queue gets notified, it might or might not observe the
intermediary state.

This commit cleans things up: the test now directly updates the config
rather than going through the cluster settings.

Fixes cockroachdb#63621.

Release note: None
@RaduBerinde RaduBerinde force-pushed the fix-tenantrate-flake branch from 00fb924 to aace016 Compare April 14, 2021 21:29
@RaduBerinde
Copy link
Member Author

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented Apr 15, 2021

Build succeeded:

@craig craig bot merged commit 29b6209 into cockroachdb:master Apr 15, 2021
@RaduBerinde RaduBerinde deleted the fix-tenantrate-flake branch April 19, 2021 18:38
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/tenantrate: TestDataDriven failed
3 participants