From 036680734d7ad94dad96bda7a537174e47f79a89 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Tue, 20 Feb 2018 10:14:24 +0200 Subject: [PATCH] Increase backoff in failover tests --- cluster_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cluster_test.go b/cluster_test.go index 61cac99..6e0d7c0 100644 --- a/cluster_test.go +++ b/cluster_test.go @@ -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 {