From 0c1b89c7f209ea6818d2ffcdfd1b08cf017486c8 Mon Sep 17 00:00:00 2001 From: Brendan Burns Date: Wed, 20 Aug 2014 22:28:54 -0700 Subject: [PATCH] Add some extra debugging, and a sleep to attempt to deflake the update test. --- hack/e2e-suite/update.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hack/e2e-suite/update.sh b/hack/e2e-suite/update.sh index a51146fdb3..51b855ccb0 100755 --- a/hack/e2e-suite/update.sh +++ b/hack/e2e-suite/update.sh @@ -41,7 +41,7 @@ function validate() { ids=($POD_ID_LIST) if [ ${#ids[@]} -ne $1 ]; then - echo "Unexpected number of pods: ${#ids[@]}" + echo "Unexpected number of pods: ${#ids[@]}. Expected $1" exit 1 fi } @@ -62,11 +62,11 @@ trap "teardown" EXIT validate 2 $CLOUDCFG resize $controller 1 - +sleep 2 validate 1 $CLOUDCFG resize $controller 2 - +sleep 2 validate 2 # TODO: test rolling update here, but to do so, we need to make the update blocking