mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Simplify resubscribing in PubSub.
This commit is contained in:
@ -91,7 +91,7 @@ var _ = Describe("pool", func() {
|
||||
})
|
||||
|
||||
It("should remove broken connections", func() {
|
||||
cn, err := client.Pool().Get()
|
||||
cn, _, err := client.Pool().Get()
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
cn.NetConn = &badConn{}
|
||||
Expect(client.Pool().Put(cn)).NotTo(HaveOccurred())
|
||||
|
Reference in New Issue
Block a user