tests: add `--noproxy 172.0.0.1` argument to `curl`

This commit is contained in:
Sameer Naik 2015-10-01 12:35:29 +05:30
parent 3b3ca0ed14
commit 3ec22260f0
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ teardown() {
create_container
docker exec $CONTAINER_NAME sh -c "echo '<?php echo \"Winter is coming\"; ?>' > index.php"
create_nginx_container
run docker exec $NGINX_CONTAINER_NAME curl 127.0.0.1:81/index.php
run docker exec $NGINX_CONTAINER_NAME curl --noproxy 127.0.0.1 127.0.0.1:81/index.php
[[ "$output" =~ "Winter is coming" ]]
}