summaryrefslogtreecommitdiffstats
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
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>
-rwxr-xr-xdeploy_vm1.sh6
-rwxr-xr-xdeploy_vm2.sh6
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
}