mirror of
https://github.com/redis/go-redis.git
synced 2025-06-12 14:21:52 +03:00
Increase timeout
This commit is contained in:
@ -69,7 +69,7 @@ var _ = Describe("Sentinel", func() {
|
|||||||
Expect(err).NotTo(HaveOccurred())
|
Expect(err).NotTo(HaveOccurred())
|
||||||
|
|
||||||
var msg *redis.Message
|
var msg *redis.Message
|
||||||
Eventually(ch).Should(Receive(&msg))
|
Eventually(ch, "5s").Should(Receive(&msg))
|
||||||
Expect(msg.Channel).To(Equal("foo"))
|
Expect(msg.Channel).To(Equal("foo"))
|
||||||
Expect(msg.Payload).To(Equal("hello"))
|
Expect(msg.Payload).To(Equal("hello"))
|
||||||
})
|
})
|
||||||
|
Reference in New Issue
Block a user