Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/boulder-fetch.sh')
-rwxr-xr-xtests/boulder-fetch.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/boulder-fetch.sh b/tests/boulder-fetch.sh
index 60538362e..08eb736c2 100755
--- a/tests/boulder-fetch.sh
+++ b/tests/boulder-fetch.sh
@@ -17,3 +17,9 @@ FAKE_DNS=$(ifconfig docker0 | grep "inet addr:" | cut -d: -f2 | awk '{ print $1}
[ -z "$FAKE_DNS" ] && echo Unable to find the IP for docker0 && exit 1
sed -i "s/FAKE_DNS: .*/FAKE_DNS: ${FAKE_DNS}/" docker-compose.yml
docker-compose up -d
+
+set +x # reduce verbosity while waiting for boulder
+until curl http://localhost:4000/directory 2>/dev/null; do
+ echo waiting for boulder
+ sleep 1
+done