Fix flaky test.

This commit is contained in:
Vladimir Mihailenco 2015-06-03 17:08:27 +03:00
parent a8fe55571b
commit c64b7819b9
1 changed files with 0 additions and 1 deletions

View File

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