Skip to content

Commit

Permalink
fix: add stop before cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
c-walter committed Jun 10, 2024
1 parent 1824727 commit 15d2872
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test.bats
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ health_checks() {
teardown() {
set -eu -o pipefail
cd ${TESTDIR} || ( printf "unable to cd to ${TESTDIR}\n" && exit 1 )
ddev stop ${PROJNAME}
ddev delete -Oy ${PROJNAME} >/dev/null 2>&1
[ "${TESTDIR}" != "" ] && rm -rf ${TESTDIR}
}
Expand Down

0 comments on commit 15d2872

Please sign in to comment.