From 18212485961a3399b9823cfc5fd07f4f7fcaa86a Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Wed, 13 Jul 2022 13:44:04 +0300 Subject: [PATCH] [#167] Use localhost instead of 127.0.0.1 Signed-off-by: Denis Kirillov --- integration_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration_test.go b/integration_test.go index ecb85bf..9031cc2 100644 --- a/integration_test.go +++ b/integration_test.go @@ -325,11 +325,11 @@ func createDockerContainer(ctx context.Context, t *testing.T, image string) test func getDefaultConfig() *viper.Viper { v := settings() - v.SetDefault(cfgPeers+".0.address", "127.0.0.1:8080") + v.SetDefault(cfgPeers+".0.address", "localhost:8080") v.SetDefault(cfgPeers+".0.weight", 1) v.SetDefault(cfgPeers+".0.priority", 1) - v.SetDefault(cfgRPCEndpoint, "http://127.0.0.1:30333") + v.SetDefault(cfgRPCEndpoint, "http://localhost:30333") return v }