mirror of
https://github.com/redis/go-redis.git
synced 2025-04-16 09:23:06 +03:00
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…
x
Reference in New Issue
Block a user