From 3e43963daaeab185fb4b8d6deb9959b044ae6244 Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Mon, 1 Apr 2019 14:52:03 +0300 Subject: [PATCH] Wait for Istio pods to be ready --- test/e2e-istio.sh | 9 +-------- test/e2e-tests.sh | 5 ----- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/test/e2e-istio.sh b/test/e2e-istio.sh index 16b3bda0..cf6bb992 100755 --- a/test/e2e-istio.sh +++ b/test/e2e-istio.sh @@ -25,13 +25,6 @@ kubectl -n istio-system wait --for=condition=complete job/istio-init-crd-10 kubectl -n istio-system wait --for=condition=complete job/istio-init-crd-11 echo '>>> Installing Istio control plane' -helm upgrade -i istio istio.io/istio --namespace istio-system -f ${REPO_ROOT}/test/e2e-istio-values.yaml - -kubectl -n istio-system rollout status deployment/prometheus +helm upgrade -i istio istio.io/istio --wait --namespace istio-system -f ${REPO_ROOT}/test/e2e-istio-values.yaml kubectl -n istio-system get all - -kubectl -n istio-system describe deployment/istio-pilot -kubectl -n istio-system describe deployment/istio-telemetry -kubectl -n istio-system describe deployment/istio-citadel -kubectl -n istio-system describe deployment/prometheus diff --git a/test/e2e-tests.sh b/test/e2e-tests.sh index fdbb97a8..3756a10f 100755 --- a/test/e2e-tests.sh +++ b/test/e2e-tests.sh @@ -14,11 +14,6 @@ kubectl label namespace test istio-injection=enabled echo '>>> Installing the load tester' kubectl -n test apply -f ${REPO_ROOT}/artifacts/loadtester/ - -sleep 30 - -kubectl -n test describe deployment/flagger-loadtester - kubectl -n test rollout status deployment/flagger-loadtester echo '>>> Initialising canary'