mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
pool: put connection to the list before returning it.
This commit is contained in:
@ -80,6 +80,7 @@ var _ = BeforeSuite(func() {
|
||||
|
||||
var _ = AfterSuite(func() {
|
||||
Expect(redisMain.Close()).NotTo(HaveOccurred())
|
||||
|
||||
Expect(ringShard1.Close()).NotTo(HaveOccurred())
|
||||
Expect(ringShard2.Close()).NotTo(HaveOccurred())
|
||||
|
||||
|
Reference in New Issue
Block a user