forked from mirror/redis
Add GinkgoRecover
This commit is contained in:
parent
1cc1ba9990
commit
8cc316035b
|
@ -379,6 +379,8 @@ var _ = Describe("Ring watch", func() {
|
|||
})
|
||||
|
||||
ring.ForEachShard(func(cl *redis.Client) error {
|
||||
defer GinkgoRecover()
|
||||
|
||||
pool := cl.Pool()
|
||||
Expect(pool.Len()).To(BeNumerically("<=", 10))
|
||||
Expect(pool.IdleLen()).To(BeNumerically("<=", 10))
|
||||
|
|
Loading…
Reference in New Issue