Skip to content

Commit

Permalink
kvserver: deflake TestClosedTimestampCantServeWithConflictingIntent
Browse files Browse the repository at this point in the history
Epic: none
Release note: None
  • Loading branch information
erikgrinaker committed Jun 30, 2023
1 parent 99dbc41 commit 3f42768
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/kv/kvserver/closed_timestamp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ import (

var aggressiveResolvedTimestampClusterArgs = base.TestClusterArgs{
ServerArgs: base.TestServerArgs{
RaftConfig: base.RaftConfig{
// With expiration-based leases, we may be unable to maintain leases under
// race and stress, so use a longer lease duration.
RangeLeaseDuration: time.Minute,
},
Knobs: base.TestingKnobs{
Store: aggressiveResolvedTimestampPushKnobs(),
},
Expand Down

0 comments on commit 3f42768

Please sign in to comment.