mirror of
				https://github.com/redis/go-redis.git
				synced 2025-11-04 02:33:24 +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 {
 | 
							ring.ForEachShard(func(cl *redis.Client) error {
 | 
				
			||||||
 | 
								defer GinkgoRecover()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			pool := cl.Pool()
 | 
								pool := cl.Pool()
 | 
				
			||||||
			Expect(pool.Len()).To(BeNumerically("<=", 10))
 | 
								Expect(pool.Len()).To(BeNumerically("<=", 10))
 | 
				
			||||||
			Expect(pool.IdleLen()).To(BeNumerically("<=", 10))
 | 
								Expect(pool.IdleLen()).To(BeNumerically("<=", 10))
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user