tests: added `--noproxy node` argument to `curl`

This commit is contained in:
Sameer Naik 2015-10-06 21:51:16 +05:30
parent 65a741a864
commit d9317111a4
1 changed files with 1 additions and 1 deletions

View File

@ -68,6 +68,6 @@ teardown() {
add_app
docker exec -d $CONTAINER_NAME sh -c 'npm install express && node server.js'
sleep 20
run docker run --rm --link $CONTAINER_NAME:node bitnami/node curl http://node:3000/
run docker run --rm --link $CONTAINER_NAME:node bitnami/node curl --noproxy node http://node:3000/
[[ "$output" =~ "The night is dark and full of terrors" ]]
}