mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Fix flaky test.
This commit is contained in:
@ -101,8 +101,9 @@ var _ = Describe("Pool", func() {
|
|||||||
})
|
})
|
||||||
|
|
||||||
pool := client.Pool()
|
pool := client.Pool()
|
||||||
Expect(pool.Len()).To(Equal(10))
|
Expect(pool.Len()).To(BeNumerically("<=", 10))
|
||||||
Expect(pool.FreeLen()).To(Equal(10))
|
Expect(pool.FreeLen()).To(BeNumerically("<=", 10))
|
||||||
|
Expect(pool.Len()).To(Equal(pool.FreeLen()))
|
||||||
})
|
})
|
||||||
|
|
||||||
It("should remove broken connections", func() {
|
It("should remove broken connections", func() {
|
||||||
|
Reference in New Issue
Block a user