Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit b4c5fe6

Browse files
rfayclaude
andauthored
Fix intermittent teardown failures in test suite (#6)
Co-authored-by: Claude <noreply@anthropic.com>
1 parent ed54218 commit b4c5fe6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/test.bats

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,12 @@ health_checks() {
6666
}
6767

6868
teardown() {
69-
set -eu -o pipefail
7069
# echo "# LEAVING ${TESTDIR} for you" >&3
71-
ddev delete -Oy "${PROJNAME}" >/dev/null 2>&1
72-
[ "${TESTDIR}" != "" ] && rm -rf "${TESTDIR}"
73-
70+
ddev delete -Oy "${PROJNAME}" >/dev/null 2>&1 || true
71+
[ "${TESTDIR}" != "" ] && rm -rf "${TESTDIR}" || true
7472
}
7573

74+
7675
# bats test_tags=from-directory
7776
@test "install from directory" {
7877
set -eu -o pipefail

0 commit comments

Comments
 (0)