diff --git a/config_service_integration_test.go b/config_service_integration_test.go index 758f5ba..90a9b32 100644 --- a/config_service_integration_test.go +++ b/config_service_integration_test.go @@ -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()