X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fosm_health.sh;h=2be8ce4f56b101adaf57931e9cc236a60b75aaf7;hb=e00c8f935be102d88710200711d69a2b64e58d11;hp=8852ab31f750286be762dc9a65dea372712f6330;hpb=9d9192bbb48264603ea160bac095ebd07edb79d1;p=osm%2Fdevops.git diff --git a/installers/osm_health.sh b/installers/osm_health.sh index 8852ab31..2be8ce4f 100755 --- a/installers/osm_health.sh +++ b/installers/osm_health.sh @@ -1,6 +1,6 @@ #!/bin/sh -WAIT_TIME=30 +WAIT_TIME=60 NUM_SERVICES_WITH_HEALTH=3 while getopts "w:s:n:" o; do @@ -28,4 +28,8 @@ while [ $time -le "$WAIT_TIME" ]; do sleep $step time=$((time+step)) done + +echo "Not all Docker services are healthy" +docker ps | grep " ${STACK_NAME}_" + exit 1