mirror of
https://github.com/redis/go-redis.git
synced 2025-07-22 10:01:50 +03:00
Add GinkgoRecover
This commit is contained in:
@ -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))
|
||||
|
Reference in New Issue
Block a user