summaryrefslogtreecommitdiffstats
path: root/deploy_vm1.sh
diff options
context:
space:
mode:
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>2017-10-26 10:57:31 +0000
committersubhash kumar singh <subhash.kumar.singh@huawei.com>2017-10-26 10:57:31 +0000
commit955d6b0dfe6b463c301e30a4424c109fec7ecf31 (patch)
tree4c646f5dcb77e154479af632592e08d2d8517de9 /deploy_vm1.sh
parent0c42cc57af9b4d8d1bfb838e4e7a99d73ebb4c9b (diff)
Increase timeout to 600s
Increase timeout to 600s to bring up dockers. Change-Id: I428e789f6f93678a1163221ef41805d0184a3d36 Issue-ID: AAI-443 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'deploy_vm1.sh')
-rwxr-xr-xdeploy_vm1.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/deploy_vm1.sh b/deploy_vm1.sh
index 278cfd3..5813119 100755
--- a/deploy_vm1.sh
+++ b/deploy_vm1.sh
@@ -68,7 +68,7 @@ function wait_for_container() {
CONTAINER_NAME="$1";
START_TEXT="$2";
- TIMEOUT=360
+ TIMEOUT=600
# wait for the real startup
AMOUNT_STARTUP=$(docker logs ${CONTAINER_NAME} 2>&1 | grep "$START_TEXT" | wc -l)
@@ -81,8 +81,8 @@ function wait_for_container() {
echo "ERROR: $CONTAINER_NAME deployment failed."
exit 1
fi
- let TIMEOUT-=1
- sleep 1
+ let TIMEOUT-=5
+ sleep 5
done
}