Increase backoff in failover tests

This commit is contained in:
Vladimir Mihailenco 2018-02-20 10:14:24 +02:00
parent fd2200b051
commit 036680734d
1 changed files with 2 additions and 0 deletions

View File

@ -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 {