Skip to content

server: delete TestIntentResolution#121119

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
arulajmani:delete-TestIntentResolution
Mar 26, 2024
Merged

server: delete TestIntentResolution#121119
craig[bot] merged 1 commit intocockroachdb:masterfrom
arulajmani:delete-TestIntentResolution

Conversation

@arulajmani
Copy link
Copy Markdown
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 a review from nvb March 26, 2024 14:26
@arulajmani arulajmani requested review from a team as code owners March 26, 2024 14:26
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@nvb nvb 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
Copy Markdown
Collaborator Author

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 26, 2024

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