1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Windows CI Fix: Timeout change

Signed-off-by: John Howard <jhoward@microsoft.com>
This commit is contained in:
John Howard 2015-12-03 11:09:14 -08:00
parent 94d5459a0c
commit 2097e7fcee

View file

@ -61,10 +61,12 @@ else
fi fi
# give it a little time to come up so it's "ready" # give it a little time to come up so it's "ready"
tries=30 tries=60
echo "INFO: Waiting for daemon to start..."
while ! docker version &> /dev/null; do while ! docker version &> /dev/null; do
(( tries-- )) (( tries-- ))
if [ $tries -le 0 ]; then if [ $tries -le 0 ]; then
printf "\n"
if [ -z "$DOCKER_HOST" ]; then if [ -z "$DOCKER_HOST" ]; then
echo >&2 "error: daemon failed to start" echo >&2 "error: daemon failed to start"
echo >&2 " check $DEST/docker.log for details" echo >&2 " check $DEST/docker.log for details"
@ -74,5 +76,7 @@ while ! docker version &> /dev/null; do
fi fi
false false
fi fi
printf "."
sleep 2 sleep 2
done done
printf "\n"