mirror of https://github.com/go-redis/redis.git
Fix flaky test.
This commit is contained in:
parent
90aaae2ba2
commit
fc04a09033
|
@ -101,8 +101,9 @@ var _ = Describe("Pool", func() {
|
|||
})
|
||||
|
||||
pool := client.Pool()
|
||||
Expect(pool.Len()).To(Equal(10))
|
||||
Expect(pool.FreeLen()).To(Equal(10))
|
||||
Expect(pool.Len()).To(BeNumerically("<=", 10))
|
||||
Expect(pool.FreeLen()).To(BeNumerically("<=", 10))
|
||||
Expect(pool.Len()).To(Equal(pool.FreeLen()))
|
||||
})
|
||||
|
||||
It("should remove broken connections", func() {
|
||||
|
|
Loading…
Reference in New Issue