From 6b10d46cfb7c2ce98385ade576eea5507693f463 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Tue, 13 Feb 2018 16:23:49 +0200 Subject: [PATCH] Fix tests --- cluster_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cluster_test.go b/cluster_test.go index a142f8c..8ca922c 100644 --- a/cluster_test.go +++ b/cluster_test.go @@ -583,6 +583,7 @@ var _ = Describe("ClusterClient", func() { }) _ = client.ForEachSlave(func(slave *redis.Client) error { + defer GinkgoRecover() Eventually(func() int64 { return slave.DBSize().Val() }, 30*time.Second).Should(Equal(int64(0)))