From 8807aef333844ccfc202e12924a5cab8391daf11 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Thu, 11 Jun 2020 10:48:37 +0000 Subject: [PATCH] fix (integration tests): replace localhost with 127.0.0.1 for more predictable behaviour --- integration/312_container_to_container_edge_same_netns_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration/312_container_to_container_edge_same_netns_test.sh b/integration/312_container_to_container_edge_same_netns_test.sh index c11785e03..49019e90e 100755 --- a/integration/312_container_to_container_edge_same_netns_test.sh +++ b/integration/312_container_to_container_edge_same_netns_test.sh @@ -7,7 +7,7 @@ start_suite "Test short lived connection between containers in same network name scope_on "$HOST1" launch docker_on "$HOST1" run -d --name nginx nginx -docker_on "$HOST1" run -d --net=container:nginx --name client albanc/dialer /go/bin/dialer connectshortlived localhost:80 +docker_on "$HOST1" run -d --net=container:nginx --name client albanc/dialer /go/bin/dialer connectshortlived 127.0.0.1:80 wait_for_containers "$HOST1" 60 nginx client