mirror of
https://github.com/redis/go-redis.git
synced 2025-07-31 05:04:23 +03:00
Fix connection initialization.
This commit is contained in:
@ -69,9 +69,8 @@ var _ = Describe("conns reapser", func() {
|
||||
cn := connPool.First()
|
||||
Expect(cn).To(BeNil())
|
||||
|
||||
cn, isNew, err := connPool.Get()
|
||||
cn, err := connPool.Get()
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
Expect(isNew).To(BeTrue())
|
||||
Expect(cn).NotTo(BeNil())
|
||||
|
||||
Expect(connPool.Len()).To(Equal(4))
|
||||
|
Reference in New Issue
Block a user