Increase wait time for larger VM to start up
Change-Id: I298fc081c66d77011be60a2ca594540e344b5fd8
Issue-ID: INT-414
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 c492394..056174d 100755
--- a/deployment/heat/onap-oom/scripts/deploy.sh
+++ b/deployment/heat/onap-oom/scripts/deploy.sh
@@ -19,8 +19,8 @@
envsubst < $ENV_FILE > $ENV_FILE~
openstack stack create -t ./onap-oom.yaml -e $ENV_FILE~ onap-oom
- for i in $(seq 1 10); do
- sleep 10
+ for i in $(seq 1 30); do
+ sleep 30
K8S_IP=$(openstack stack output show onap-oom k8s_vm_ip -c output_value -f value)
RANCHER_IP=$(openstack stack output show onap-oom rancher_vm_ip -c output_value -f value)
timeout 1 ping -c 1 "$K8S_IP" && timeout 1 ping -c 1 "$RANCHER_IP" && break