Skip to content

Commit

Permalink
Shutdown containers before tests (#67)
Browse files Browse the repository at this point in the history
* Run `docker compose down` before running tests
  • Loading branch information
levisingularity authored Feb 8, 2024
1 parent 52eb853 commit d85205c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ OPENFAAS_CONTAINER="openfaas"

QUERY_ENGINE_SERVICE="query-engine"

docker compose down

if ! docker ps --format '{{.Names}}' | grep -q "$OPENFAAS_CONTAINER"; then
if [ -z "$REMOTE" ]; then
docker compose up -d --build --force-recreate
Expand Down

0 comments on commit d85205c

Please sign in to comment.