Increase timeout

This commit is contained in:
Vladimir Mihailenco 2018-02-20 10:28:34 +02:00
parent 036680734d
commit 4e89aeeae4
1 changed files with 3 additions and 3 deletions

View File

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