aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Closset <cc697w@intl.att.com>2017-07-07 13:52:03 +0000
committerGerrit Code Review <gerrit@onap.org>2017-07-07 13:52:03 +0000
commit5554ae3b4b0049aeb034715dfbbcc36376ab3784 (patch)
treef1b1058d117f93ce071b5863bc2365168da4c406
parent0bb7e4f04b4414979b3f8915085a9673c8bdcfa9 (diff)
parent801e3768bfd04d10994419a621f0caaddd2d0e85 (diff)
Merge "Increase the mariadb deploy timeout"
-rwxr-xr-xdeploy.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/deploy.sh b/deploy.sh
index d2b09fa..c4cf358 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -110,7 +110,7 @@ function pull_docker_images() {
function wait_for_mariadb() {
CONTAINER_NAME=$1
- TIMEOUT=120
+ TIMEOUT=600
# wait for the real startup
AMOUNT_STARTUP=$($DOCKER_CMD logs ${CONTAINER_NAME} 2>&1 | grep 'mysqld: ready for connections.' | wc -l)
@@ -123,8 +123,8 @@ function wait_for_mariadb() {
echo "ERROR: Mariadb deployment failed."
exit 1
fi
- let TIMEOUT-=1
- sleep 1
+ let TIMEOUT-=5
+ sleep 5
done
}