diff --git a/pkg/storage/replica_test.go b/pkg/storage/replica_test.go index 110c994eb352..569b73b31ef2 100644 --- a/pkg/storage/replica_test.go +++ b/pkg/storage/replica_test.go @@ -6258,7 +6258,7 @@ func TestReplicaTimestampCacheBumpNotLost(t *testing.T) { ctx := tc.store.AnnotateCtx(context.TODO()) key := keys.LocalMax - txn := newTransaction("test", key, 1, enginepb.SERIALIZABLE, tc.clock) + txn := newTransaction("test", key, 1, enginepb.SERIALIZABLE, tc.Clock()) origTxn := txn.Clone() minNewTS := func() hlc.Timestamp {