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

lease: revive TestLeaseAcquireAndReleaseConcurrencly #92679

Conversation

ajwerner
Copy link
Contributor

This test relied on an old placement of a testing knob (it's been moved back), and it relied on the leasing subsystem interacting with the lease table itself in interesting ways. We sidestep this latter bit by making the test use a new table. Lastly, we allow other concurrent leasing activity to not disturb the test.

Fixes #51798

Release note: None

@ajwerner ajwerner requested a review from a team November 29, 2022 17:55
@ajwerner ajwerner force-pushed the ajwerner/revive-TestLeaseAcquireAndReleaseConcurrencly branch from c352d5b to 0c373a0 Compare November 29, 2022 22:52
This test relied on an old placement of a testing knob (it's been moved back),
and it relied on the leasing subsystem interacting with the lease table itself
in interesting ways. We sidestep this latter bit by making the test use a new
table. Lastly, we allow other concurrent leasing activity to not disturb the
test.

Fixes cockroachdb#51798

Release note: None
@ajwerner ajwerner force-pushed the ajwerner/revive-TestLeaseAcquireAndReleaseConcurrencly branch from 0c373a0 to 2bd6fd2 Compare November 29, 2022 23:13
Copy link
Contributor

@chengxiong-ruan chengxiong-ruan left a comment

Choose a reason for hiding this comment

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

nice!

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@ajwerner
Copy link
Contributor Author

TFTR!

bors r+

@craig
Copy link
Contributor

craig bot commented Nov 30, 2022

Build succeeded:

@craig craig bot merged commit d764ec1 into cockroachdb:master Nov 30, 2022
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.

lease: TestLeaseAcquireAndReleaseConcurrencly is skipped
3 participants