Skip to content

Commit

Permalink
Merge pull request #109129 from cockroachdb/blathers/backport-release…
Browse files Browse the repository at this point in the history
…-23.1.9-rc-108517
  • Loading branch information
kvoli authored Aug 21, 2023
2 parents a0eff47 + dd72c4a commit 343fef8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkg/cmd/roachtest/tests/lease_preferences.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,14 @@ func runLeasePreferences(
// enforcement.
require.NoError(t, WaitForReplication(ctx, t, conn, spec.replFactor))

// Set a lease preference for the liveness range, to be on n5. This test
// would occasionally fail due to the liveness heartbeat failures, when the
// liveness lease is on a stopped node. This is not ideal behavior, #108512.
configureZone(t, ctx, conn, "RANGE liveness", zoneConfig{
replicas: spec.replFactor,
leaseNode: 5,
})

t.L().Printf("setting lease preferences: %s", spec.preferences)
setLeasePreferences(ctx, spec.preferences)
t.L().Printf("waiting for initial lease preference conformance")
Expand Down

0 comments on commit 343fef8

Please sign in to comment.