From 54dae1ab2b84851f8ed6ec1394033a3b15c5d7fc Mon Sep 17 00:00:00 2001 From: Maxim Merzhanov Date: Mon, 23 Nov 2020 10:47:08 +0300 Subject: [PATCH] fix test --- config_service_integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()