From d766018ef13e7ae24eff4be038ccf36761ec542f Mon Sep 17 00:00:00 2001 From: Ben Napolitan Date: Sat, 13 Jun 2020 13:32:50 -0400 Subject: [PATCH] Try to diagnose polling problem. --- scripts/lib/common.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/lib/common.sh b/scripts/lib/common.sh index a7eab291b1..f643909420 100644 --- a/scripts/lib/common.sh +++ b/scripts/lib/common.sh @@ -36,6 +36,7 @@ function run_scale_test_130_pods() { do ITERATION_START=$SECONDS $KUBECTL_PATH scale -f deploy-130-pods.yaml --replicas=130 + sleep 150 GET_DEPLOY_OUTPUT="" while [[ ${#GET_DEPLOY_OUTPUT} -lt 1 && $((SECONDS - ITERATION_START)) -lt 200 ]] do @@ -43,6 +44,9 @@ function run_scale_test_130_pods() { echo "Scaling UP" echo $($KUBECTL_PATH get deploy) GET_DEPLOY_OUTPUT=$($KUBECTL_PATH get deploy | grep 130/130) + echo "Made it past grep get deploy. Printing grep length and seconds taken" + echo ${#GET_DEPLOY_OUTPUT} + echo $((SECONDS - ITERATION_START)) done SCALE_UP_DURATION_ARRAY+=( $((SECONDS - ITERATION_START)) )