From: Gary Wu Date: Wed, 9 May 2018 02:13:59 +0000 (-0700) Subject: Shorten health check wait loop to 1.5 hours X-Git-Tag: sniroemulator-1.0.0~88 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=5627a69f5fd64e2e081dec510c4fbf76aeb1c36d;p=integration.git Shorten health check wait loop to 1.5 hours Change-Id: Ic4c11dcfacef1d9dbb97f9f29677e07f9c149d00 Issue-ID: INT-381 Signed-off-by: Gary Wu --- diff --git a/deployment/heat/onap-oom/scripts/deploy.sh b/deployment/heat/onap-oom/scripts/deploy.sh index 8ab79a2c8..656b410a9 100755 --- a/deployment/heat/onap-oom/scripts/deploy.sh +++ b/deployment/heat/onap-oom/scripts/deploy.sh @@ -39,7 +39,7 @@ if ! timeout 1 ping -c 1 "$RANCHER_IP"; then fi ssh-keygen -R $RANCHER_IP -for n in $(seq 1 10); do +for n in $(seq 1 6); do timeout 15m ssh -o StrictHostKeychecking=no -i ~/.ssh/onap_key ubuntu@$RANCHER_IP 'sudo su -l root -c "/root/oom/kubernetes/robot/ete-k8s.sh onap health"' RESULT=$? if [ $RESULT -eq 0 ]; then