fix (integration tests): replace localhost with 127.0.0.1 for more predictable behaviour

This commit is contained in:
Bryan Boreham
2020-06-11 10:48:37 +00:00
parent 2021c7431e
commit 8807aef333

View File

@@ -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