Increase timeout for OOM health check 41/43741/1
authorGary Wu <gary.i.wu@huawei.com>
Thu, 19 Apr 2018 14:55:59 +0000 (07:55 -0700)
committerGary Wu <gary.i.wu@huawei.com>
Thu, 19 Apr 2018 14:55:59 +0000 (07:55 -0700)
Change-Id: Iaec04c20ab8d37480ec597f21cb4b4231cd3b4ec
Issue-ID: INT-403
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
deployment/heat/onap-oom/scripts/deploy.sh

index c81e65c..c492394 100755 (executable)
@@ -38,7 +38,7 @@ fi
 
 ssh-keygen -R $K8S_IP
 for n in $(seq 1 10); do
-    timeout 2m ssh -o StrictHostKeychecking=no -i ~/.ssh/onap_key ubuntu@$K8S_IP  'sudo su -l root -c "/root/oom/kubernetes/robot/ete-k8s.sh onap health"'
+    timeout 15m ssh -o StrictHostKeychecking=no -i ~/.ssh/onap_key ubuntu@$K8S_IP  'sudo su -l root -c "/root/oom/kubernetes/robot/ete-k8s.sh onap health"'
     RESULT=$?
     if [ $RESULT -eq 0 ]; then
        break