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: deflake testcloser #88303

Merged
merged 1 commit into from
Sep 21, 2022

Conversation

kvoli
Copy link
Collaborator

@kvoli kvoli commented Sep 20, 2022

This patch increases the request size in TestCloser in order to jam the request, to assert on timers closing. An earlier patch lowered the RU cost below the burst threshold, making it so that this request never waited.

The test previously flaked after 1 run.

53538 runs so far, 0 failures, over 2m5s

resolves: #86822

Release note: None

@kvoli kvoli requested a review from a team as a code owner September 20, 2022 21:26
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@kvoli kvoli requested a review from irfansharif September 20, 2022 21:26
Copy link
Contributor

@irfansharif irfansharif left a comment

Choose a reason for hiding this comment

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

:fastparrot:

This patch increases the request size in `TestCloser` in order to jam
the request, to assert on timers closing. An earlier patch lowered the
RU cost below the burst threshold, making it so that this request never
waited.

The test previously flaked after 1 run.

`53538 runs so far, 0 failures, over 2m5s`

resolves: cockroachdb#86822

Release note: None
@kvoli kvoli force-pushed the 220920.tenantrate-deflake branch from 1abc442 to e59cbad Compare September 20, 2022 21:33
@kvoli
Copy link
Collaborator Author

kvoli commented Sep 20, 2022

bors r=irfansharif

@kvoli kvoli self-assigned this Sep 20, 2022
@craig
Copy link
Contributor

craig bot commented Sep 21, 2022

Build succeeded:

@craig craig bot merged commit 1936d22 into cockroachdb:master Sep 21, 2022
dhartunian added a commit to dhartunian/cockroach that referenced this pull request Mar 3, 2023
I'm blindly applying the technique from cockroachdb#88303 since
I am unable to reproduce this on mac or linux myself.

Release note: None
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: TestCloser is flakey
4 participants