summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef/scripts/docker_run.sh
diff options
context:
space:
mode:
authorYuli Shlosberg <ys9693@att.com>2018-07-19 17:54:15 +0300
committerYuli Shlosberg <ys9693@att.com>2018-07-19 17:54:15 +0300
commitd0eaecacec822c0332a31f499f9d972c9b39e691 (patch)
tree96c4424e52cda998a46ea4ca192b1e40fc70345d /sdc-os-chef/scripts/docker_run.sh
parent7bfba3ec8f482a36884f9675bf8b2f3ca8b56033 (diff)
fix docker_run script
Change-Id: I4151bb342c9330990271ed9eb7e96d19e8e4c165 Issue-ID: SDC-1543 Signed-off-by: Yuli Shlosberg <ys9693@att.com>
Diffstat (limited to 'sdc-os-chef/scripts/docker_run.sh')
-rwxr-xr-xsdc-os-chef/scripts/docker_run.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/sdc-os-chef/scripts/docker_run.sh b/sdc-os-chef/scripts/docker_run.sh
index 7f9cde76bd..a5688579f2 100755
--- a/sdc-os-chef/scripts/docker_run.sh
+++ b/sdc-os-chef/scripts/docker_run.sh
@@ -504,7 +504,8 @@ function dcae-fe {
# apis-sanity
function sdc-api-tests {
if [[ ${RUN_API_TESTS} = true ]] ; then
- healthCheck_http_code=healthCheck
+ healthCheck
+ healthCheck_http_code=$?
if [[ ${healthCheck_http_code} == 200 ]] ; then
echo "docker run sdc-api-tests..."
echo "Trigger sdc-api-tests docker, please wait..."
@@ -525,7 +526,8 @@ function sdc-api-tests {
function sdc-ui-tests {
if [[ ${RUN_UI_TESTS} = true ]] ; then
- healthCheck_http_code=healthCheck
+ healthCheck
+ healthCheck_http_code=$?
if [[ ${healthCheck_http_code} == 200 ]]; then
echo "docker run sdc-ui-tets..."
echo "Trigger sdc-ui-tests docker, please wait..."