mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Extract race tests to separate file. Add more race tests.
This commit is contained in:
@ -66,7 +66,10 @@ func startCluster(scenario *clusterScenario) error {
|
||||
return err
|
||||
}
|
||||
|
||||
client := redis.NewClient(&redis.Options{Addr: "127.0.0.1:" + port})
|
||||
client := redis.NewClient(&redis.Options{
|
||||
Addr: ":" + port,
|
||||
})
|
||||
|
||||
info, err := client.ClusterNodes().Result()
|
||||
if err != nil {
|
||||
return err
|
||||
|
Reference in New Issue
Block a user