mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Port pool fixes
This commit is contained in:
@ -85,7 +85,7 @@ var _ = Describe("pool", func() {
|
||||
cn, err := client.Pool().Get(context.Background())
|
||||
Expect(err).NotTo(HaveOccurred())
|
||||
cn.SetNetConn(&badConn{})
|
||||
client.Pool().Put(cn)
|
||||
client.Pool().Put(ctx, cn)
|
||||
|
||||
err = client.Ping(ctx).Err()
|
||||
Expect(err).To(MatchError("bad connection"))
|
||||
|
Reference in New Issue
Block a user