Skip to content

Commit

Permalink
Increase backoff in failover tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vmihailenco committed Feb 20, 2018
1 parent fd2200b commit 0366807
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0366807

Please sign in to comment.