diff options
Diffstat (limited to 'tests/run-tests.sh')
| -rwxr-xr-x | tests/run-tests.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/run-tests.sh b/tests/run-tests.sh index e01d239..401b0c3 100755 --- a/tests/run-tests.sh +++ b/tests/run-tests.sh @@ -41,6 +41,15 @@ do echo "Up and running at $URL !" fi done +echo Checking connection to container version of mesh.aristote.fr ... +URL="http://$IP:8085/health" +RESULT=$(curl "$URL" $CURL_FLAGS) +if [[ "$RESULT" != '{"status":"pass"}' ]] +then + echo "Connection failed." +else + echo "Up and running at $URL !" +fi echo Done. |
