mirror of https://github.com/go-redis/redis.git
Fix ClientPause test.
This commit is contained in:
parent
f79308a137
commit
387330857d
|
@ -83,7 +83,7 @@ var _ = Describe("Commands", func() {
|
||||||
|
|
||||||
Consistently(func() error {
|
Consistently(func() error {
|
||||||
return client.Ping().Err()
|
return client.Ping().Err()
|
||||||
}, "900ms").Should(HaveOccurred())
|
}, "400ms").Should(HaveOccurred()) // pause time - read timeout
|
||||||
|
|
||||||
Eventually(func() error {
|
Eventually(func() error {
|
||||||
return client.Ping().Err()
|
return client.Ping().Err()
|
||||||
|
|
Loading…
Reference in New Issue