Skip to content

Commit

Permalink
kv: remove redundant test case in TestTxnCoordSenderRetries
Browse files Browse the repository at this point in the history
This was the same as the "write too old with put after prior read" case.

Epic: None
Release note: None
  • Loading branch information
nvanbenschoten committed Apr 30, 2023
1 parent 6860724 commit c59d66a
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions pkg/kv/kvclient/kvcoord/dist_sender_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2434,20 +2434,6 @@ func TestTxnCoordSenderRetries(t *testing.T) {
tsLeaked: true,
expClientRestart: true,
},
{
name: "write too old with get in the clear",
afterTxnStart: func(ctx context.Context, db *kv.DB) error {
return db.Put(ctx, "a", "put")
},
retryable: func(ctx context.Context, txn *kv.Txn) error {
if _, err := txn.Get(ctx, "b"); err != nil {
return err
}
return txn.Put(ctx, "a", "put")
},
expClientRefresh: true,
expClientAutoRetryAfterRefresh: true,
},
{
name: "write too old with get conflict",
afterTxnStart: func(ctx context.Context, db *kv.DB) error {
Expand Down

0 comments on commit c59d66a

Please sign in to comment.