diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2017-10-17 14:07:00 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-10-17 14:07:00 +0000 |
commit | dce0b69dcec1555c88ef0cd813810d3c1519a3bf (patch) | |
tree | 5e4e66d5a207d2dcbdc5c44c182df633d62f83a1 | |
parent | 038c9abe5dd712b0aacd327436aecacda4430c6f (diff) | |
parent | 8d73a695ae6c000b3be4d7381151ac507f36387c (diff) |
Merge "corrected the condition for docker wait period"
-rwxr-xr-x | deploy.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -114,7 +114,7 @@ function wait_for_mariadb() { # wait for the real startup AMOUNT_STARTUP=$($DOCKER_CMD logs ${CONTAINER_NAME} 2>&1 | grep 'mysqld: ready for connections.' | wc -l) - while [[ ${AMOUNT_STARTUP} -lt 2 ]]; + while [[ ${AMOUNT_STARTUP} -lt 1 ]]; do echo "Waiting for '$CONTAINER_NAME' deployment to finish ..." AMOUNT_STARTUP=$($DOCKER_CMD logs ${CONTAINER_NAME} 2>&1 | grep 'mysqld: ready for connections.' | wc -l) |