mirror of
https://github.com/redis/go-redis.git
synced 2025-07-20 22:42:59 +03:00
Increase timeout
This commit is contained in:
@ -727,13 +727,13 @@ var _ = Describe("ClusterClient timeout", func() {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
const pause = 2 * time.Second
|
const pause = 3 * time.Second
|
||||||
|
|
||||||
Context("read/write timeout", func() {
|
Context("read/write timeout", func() {
|
||||||
BeforeEach(func() {
|
BeforeEach(func() {
|
||||||
opt := redisClusterOptions()
|
opt := redisClusterOptions()
|
||||||
opt.ReadTimeout = 100 * time.Millisecond
|
opt.ReadTimeout = 200 * time.Millisecond
|
||||||
opt.WriteTimeout = 100 * time.Millisecond
|
opt.WriteTimeout = 200 * time.Millisecond
|
||||||
opt.MaxRedirects = 1
|
opt.MaxRedirects = 1
|
||||||
client = cluster.clusterClient(opt)
|
client = cluster.clusterClient(opt)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user