Skip to content

Commit 1ba0a7c

Browse files
committed
test seems to be working
1 parent 0b9b3b5 commit 1ba0a7c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

config.php-patch-build.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ hooks:
66
- exec: sudo ln -sf /usr/local/src/static-php-cli/buildroot/bin/php-fpm /usr/sbin/php-fpm
77
- exec: sudo ln -sf /etc/php/${STATIC_PHP_VERSION%.*}/cli/php.ini /etc/php.ini
88
- exec: sudo ln -sf /etc/php/${STATIC_PHP_VERSION%.*}/fpm/php-fpm.conf /etc/php-fpm.conf
9-
- exec: "killall -HUP supervisord && rm -f /tmp/healthy && sleep 1 && ( /healthcheck.sh || true )"
10-
- exec-host: while ! docker inspect --format='{{.State.Health.Status}}' ddev-${DDEV_PROJECT}-web | grep -q "healthy"; do sleep 1; done
9+
- exec: "killall -HUP supervisord && rm -f /tmp/healthy && while true; do sleep 1; if /healthcheck.sh >/dev/null; then break; fi; done"
1110

tests/test.bats

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ health_checks() {
3333
teardown() {
3434
set -eu -o pipefail
3535
cd ${TESTDIR} || ( printf "unable to cd to ${TESTDIR}\n" && exit 1 )
36-
# ddev delete -Oy ${PROJNAME} >/dev/null 2>&1
37-
# [ "${TESTDIR}" != "" ] && rm -rf ${TESTDIR}
36+
ddev delete -Oy ${PROJNAME} >/dev/null 2>&1
37+
[ "${TESTDIR}" != "" ] && rm -rf ${TESTDIR}
3838
}
3939

4040
@test "install from directory" {

0 commit comments

Comments
 (0)