diff --git a/.circleci/config.yml b/.circleci/config.yml index 5e02f44..41bd09c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -199,7 +199,7 @@ jobs: name: test healthz endpoint command: | reponse=$(curl https://dev.twdps.io/teams/healthz/readiness) - if [[ $(echo $reponse | jq -r .status) != "ok" ]]; then + if [[ $(echo $reponse | jq -r .message) != "DB is available" ]]; then echo "error: healthz not ok" exit 1 fi