mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
test: add TestRingShardsCleanup
This commit is contained in:
@ -772,6 +772,7 @@ func TestRingSetAddrsContention(t *testing.T) {
|
||||
return redis.NewClient(opt)
|
||||
},
|
||||
})
|
||||
defer ring.Close()
|
||||
|
||||
if _, err := ring.Ping(context.Background()).Result(); err != nil {
|
||||
t.Fatal(err)
|
||||
|
Reference in New Issue
Block a user