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

server: delete TestIntentResolution #121119

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

arulajmani
Copy link
Collaborator

This is an old test which is tightly coupled with how locks are tracked on the client. In particular, it expects all ranged locking requests to use ResolveIntentRange requests to resolve their locks; this is expected to change immminently (see #121086). It's also cumbersome to change given the randomization it uses to construct batches.

We've got coverage for things being tested here elsewhere. There's some integration tests in intent_resolver_integration_test.go that test things deterministically. There's also tests for the txn pipeliner and txn committer that test lock tracking on the client. I'm probably missing some other examples as well, but deleting this should be safe.

Epic: none

Release note: None

This is an old test which is tightly coupled with how locks are tracked
on the client. In particular, it expects all ranged locking requests to
use `ResolveIntentRange` requests to resolve their locks; this is
expected to change immminently (see cockroachdb#121086). It's also cumbersome to
change given the randomization it uses to construct batches.

We've got coverage for things being tested here elsewhere. There's some
integration tests in `intent_resolver_integration_test.go` that test
things deterministically. There's also tests for the txn pipeliner and
txn committer that test lock tracking on the client. I'm probably
missing some other examples as well, but deleting this should be safe.

Epic: none

Release note: None
@arulajmani arulajmani requested review from a team as code owners March 26, 2024 14:26
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@nvanbenschoten nvanbenschoten left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @arulajmani)

@arulajmani
Copy link
Collaborator Author

bors r+

@craig craig bot merged commit 7247185 into cockroachdb:master Mar 26, 2024
22 checks passed
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