-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kv: delete TestDelayedBeginRetryable, which was replaced by unit tests
As of #33523, this test doesn't really make sense. The transaction model is much more flexible to scenarios like this where a `PushTxn` is issued before the transaction's record is written. This flexibility required more targeted testing, which was added in #33523. As a result, we don't need such a high-level integration test any more. Instead, the following three subtests of `TestCreateTxnRecord` sufficiently test that such a situation is handled correctly and returns a retriable error like we were expecting: - `TestCreateTxnRecord/begin_transaction_after_end_transaction_(abort)` - `TestCreateTxnRecord/heartbeat_transaction_after_end_transaction_(abort)` - `TestCreateTxnRecord/end_transaction_(commit)_after_end_transaction_(abort)` Release note: None
- Loading branch information
1 parent
d4e7883
commit 2e23ae5
Showing
1 changed file
with
0 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters