Shorten health check wait loop to 1.5 hours
Change-Id: Ic4c11dcfacef1d9dbb97f9f29677e07f9c149d00
Issue-ID: INT-381
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
diff --git a/deployment/heat/onap-oom/scripts/deploy.sh b/deployment/heat/onap-oom/scripts/deploy.sh
index 8ab79a2..656b410 100755
--- a/deployment/heat/onap-oom/scripts/deploy.sh
+++ b/deployment/heat/onap-oom/scripts/deploy.sh
@@ -39,7 +39,7 @@
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