Increase timeout

This commit is contained in:
Vladimir Mihailenco 2018-12-13 11:06:27 +02:00
parent 29e07c1098
commit f18a97fc94
1 changed files with 1 additions and 1 deletions

View File

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