From 4e89aeeae456e29942003f3debb6e71b0f189c86 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Tue, 20 Feb 2018 10:28:34 +0200 Subject: [PATCH] Increase timeout --- cluster_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cluster_test.go b/cluster_test.go index 6e0d7c08..fd21bbe0 100644 --- a/cluster_test.go +++ b/cluster_test.go @@ -727,13 +727,13 @@ var _ = Describe("ClusterClient timeout", func() { }) } - const pause = 2 * time.Second + const pause = 3 * time.Second Context("read/write timeout", func() { BeforeEach(func() { opt := redisClusterOptions() - opt.ReadTimeout = 100 * time.Millisecond - opt.WriteTimeout = 100 * time.Millisecond + opt.ReadTimeout = 200 * time.Millisecond + opt.WriteTimeout = 200 * time.Millisecond opt.MaxRedirects = 1 client = cluster.clusterClient(opt)