fix test
This commit is contained in:
1 parent
f0f50a8507
commit
54dae1ab2b
1 file changed
+1
-1
@@ -186,7 +186,7 @@ func getConfigServiceAddress(num int, port string) structure.AddressConfiguratio
|
||||
}
|
||||
|
||||
func testClusterReady(a *assert.Assertions, except int) bool {
|
||||
clients := make([]*backend.RxGrpcClient, configsNumber)
|
||||
clients := make([]*backend.RxGrpcClient, 0, configsNumber)
|
||||
defer func() {
|
||||
for _, client := range clients {
|
||||
_ = client.Close()
|
||||
|
||||
Reference in new issue
Block a user