Merge pull request #18402 from Microsoft/jjh/timeout

Windows CI Fix: Timeout change
This commit is contained in:
Michael Crosby 2015-12-03 14:33:09 -08:00
commit 2856a30482
1 changed files with 5 additions and 1 deletions

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"