Skip to content

Commit ead6970

Browse files
committed
roachtest: use leader leases by default in perturbation tests
Leader leases are now the default, so they should also be the default in the perturbation tests. Epic: none Release note: None
1 parent ac3b2b7 commit ead6970

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/roachtest/tests/perturbation/framework.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ func (v variations) randomize(rng *rand.Rand) variations {
243243
func setup(p perturbation, acceptableChange float64) variations {
244244
v := variations{}
245245
v.workload = kvWorkload{}
246-
v.leaseType = registry.EpochLeases
246+
v.leaseType = registry.LeaderLeases
247247
v.blockSize = 4096
248248
v.splits = 10000
249249
v.numNodes = 12

0 commit comments

Comments
 (0)