|
@@ -837,6 +837,7 @@ func NewClusterV3(t *testing.T, cfg *ClusterConfig) *ClusterV3 {
|
|
|
clus := &ClusterV3{
|
|
clus := &ClusterV3{
|
|
|
cluster: NewClusterByConfig(t, cfg),
|
|
cluster: NewClusterByConfig(t, cfg),
|
|
|
}
|
|
}
|
|
|
|
|
+ clus.Launch(t)
|
|
|
for _, m := range clus.Members {
|
|
for _, m := range clus.Members {
|
|
|
client, err := NewClientV3(m)
|
|
client, err := NewClientV3(m)
|
|
|
if err != nil {
|
|
if err != nil {
|
|
@@ -844,7 +845,6 @@ func NewClusterV3(t *testing.T, cfg *ClusterConfig) *ClusterV3 {
|
|
|
}
|
|
}
|
|
|
clus.clients = append(clus.clients, client)
|
|
clus.clients = append(clus.clients, client)
|
|
|
}
|
|
}
|
|
|
- clus.Launch(t)
|
|
|
|
|
|
|
|
|
|
return clus
|
|
return clus
|
|
|
}
|
|
}
|