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