From 955d6b0dfe6b463c301e30a4424c109fec7ecf31 Mon Sep 17 00:00:00 2001 From: subhash kumar singh Date: Thu, 26 Oct 2017 10:57:31 +0000 Subject: 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 --- deploy_vm1.sh | 6 +++--- deploy_vm2.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 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 } diff --git a/deploy_vm2.sh b/deploy_vm2.sh index f790c35..3589e1c 100755 --- a/deploy_vm2.sh +++ b/deploy_vm2.sh @@ -16,7 +16,7 @@ function wait_for_container() { CONTAINER_NAME="$1"; START_TEXT="$2"; - TIMEOUT=160 + TIMEOUT=600 # wait for the real startup AMOUNT_STARTUP=$(docker logs ${CONTAINER_NAME} 2>&1 | grep "$START_TEXT" | wc -l) @@ -29,8 +29,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 } -- cgit 1.2.3-korg