Skip to content

Commit 599a055

Browse files
committed
kvcoord: rename a few tests
This allows a developer to write a test filter that calls all of the txn write buffer unit tests. Epic: none Release note: None
1 parent a8ead97 commit 599a055

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/kv/kvclient/kvcoord/txn_interceptor_write_buffer_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1992,10 +1992,10 @@ func TestTxnWriteBufferRollbackToSavepoint(t *testing.T) {
19921992
require.IsType(t, &kvpb.EndTxnResponse{}, br.Responses[0].GetInner())
19931993
}
19941994

1995-
// TestRollbackNeverHeldLock is a regression test for a bug around incorrect
1995+
// TestTxnWriteBufferRollbackNeverHeldLock is a regression test for a bug around incorrect
19961996
// accounting of the buffer size for completely unlocked writes that were rolled
19971997
// back.
1998-
func TestRollbackNeverHeldLock(t *testing.T) {
1998+
func TestTxnWriteBufferRollbackNeverHeldLock(t *testing.T) {
19991999
defer leaktest.AfterTest(t)()
20002000
defer log.Scope(t).Close(t)
20012001
ctx := context.Background()
@@ -2882,7 +2882,7 @@ func TestTxnWriteBufferCorrectlyRollsbackExclusionTimestamp(t *testing.T) {
28822882
require.NotNil(t, br)
28832883
}
28842884

2885-
func TestLockKeyInfo(t *testing.T) {
2885+
func TestTxnWriteBufferLockKeyInfo(t *testing.T) {
28862886
ts1 := hlc.Timestamp{WallTime: 1}
28872887
ts2 := hlc.Timestamp{WallTime: 2}
28882888

0 commit comments

Comments
 (0)