From c3d7850bcc36b19b529fe2dfd7949df25f190019 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Tue, 23 Jul 2019 18:06:16 -0700 Subject: [PATCH] some debug Signed-off-by: Kir Kolyshkin --- e2e/compose-env.yaml | 2 +- scripts/test/e2e/wait-on-daemon | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/e2e/compose-env.yaml b/e2e/compose-env.yaml index ce1081432f29..01f5bf62eec5 100644 --- a/e2e/compose-env.yaml +++ b/e2e/compose-env.yaml @@ -5,7 +5,7 @@ services: image: 'registry:2' engine: - image: 'docker:${TEST_ENGINE_VERSION:-stable-dind}' + image: 'docker:${TEST_ENGINE_VERSION:-18.09-dind}' privileged: true command: ['--insecure-registry=registry:5000'] diff --git a/scripts/test/e2e/wait-on-daemon b/scripts/test/e2e/wait-on-daemon index d1dd5c39f29d..52e857b62fb2 100755 --- a/scripts/test/e2e/wait-on-daemon +++ b/scripts/test/e2e/wait-on-daemon @@ -2,6 +2,8 @@ set -eu -o pipefail echo "Waiting for docker daemon to become available at $DOCKER_HOST" +IP=$(echo $DOCKER_HOST | sed -e 's|^tcp://||' -e 's|:.*$||') +ping -c 3 $IP while ! docker version > /dev/null; do sleep 0.3 done