mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
add tests
This commit is contained in:
@ -89,6 +89,9 @@ func (s *clusterScenario) newClusterClient(
|
||||
func (s *clusterScenario) Close() error {
|
||||
ctx := context.TODO()
|
||||
for _, master := range s.masters() {
|
||||
if master == nil {
|
||||
continue
|
||||
}
|
||||
err := master.FlushAll(ctx).Err()
|
||||
if err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user