forked from mirror/redis
Fix flaky test.
This commit is contained in:
parent
a8fe55571b
commit
c64b7819b9
|
@ -252,7 +252,6 @@ var _ = Describe("Cluster", func() {
|
||||||
val, err := client.Get("A").Result()
|
val, err := client.Get("A").Result()
|
||||||
Expect(err).NotTo(HaveOccurred())
|
Expect(err).NotTo(HaveOccurred())
|
||||||
Expect(val).To(Equal("VALUE"))
|
Expect(val).To(Equal("VALUE"))
|
||||||
Expect(client.SlotAddrs(slot)).To(Equal([]string{"127.0.0.1:8224", "127.0.0.1:8221"}))
|
|
||||||
|
|
||||||
Eventually(func() []string {
|
Eventually(func() []string {
|
||||||
return client.SlotAddrs(slot)
|
return client.SlotAddrs(slot)
|
||||||
|
|
Loading…
Reference in New Issue