mirror of
https://github.com/wassname/nginx-proxy-letsencrypt.git
synced 2026-10-29 13:20:53 +08:00
Run curl commands from a sibling container
This commit is contained in:
1 parent
2cba8a8d5f
commit
0d2bc38179
2 files changed
+4
-4
No files matched your search
+1
-1
@@ -62,7 +62,7 @@ load test_helpers
|
||||
-v /etc/nginx/certs/ \
|
||||
nginx:latest
|
||||
assert_success
|
||||
run retry 5 1s curl --silent --fail --head http://$(docker_ip bats-nginx)/
|
||||
run retry 5 1s docker run --rm appropriate/curl --silent --fail --head http://$(docker_ip bats-nginx)/
|
||||
assert_output -l 0 $'HTTP/1.1 200 OK\r'
|
||||
|
||||
# WHEN docker-gen runs on our docker host
|
||||
|
||||
Reference in new issue
Block a user