mirror of https://github.com/go-redis/redis.git
Increase backoff in failover tests
This commit is contained in:
parent
fd2200b051
commit
036680734d
|
@ -574,6 +574,8 @@ var _ = Describe("ClusterClient", func() {
|
|||
Describe("ClusterClient failover", func() {
|
||||
BeforeEach(func() {
|
||||
opt = redisClusterOptions()
|
||||
opt.MinRetryBackoff = 100 * time.Millisecond
|
||||
opt.MaxRetryBackoff = 3 * time.Second
|
||||
client = cluster.clusterClient(opt)
|
||||
|
||||
_ = client.ForEachSlave(func(slave *redis.Client) error {
|
||||
|
|
Loading…
Reference in New Issue