Skip to content

Commit

Permalink
Print health check output in test.bats
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuench authored Dec 17, 2023
1 parent fb72b78 commit 76c6499
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test.bats
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
setup() {
set -eu -o pipefail
set -x

brew_prefix=$(brew --prefix)
load "${brew_prefix}/lib/bats-support/load.bash"
Expand All @@ -26,9 +25,8 @@ health_checks() {
assert_success

# Make sure we can hit the 9201 and 5602 port successfully
curl -s -I -f https://${PROJNAME}.ddev.site:9201 >/tmp/curlout.txt
curl -s -I -f https://${PROJNAME}.ddev.site:5602 >/tmp/curlout.txt
cat /tmp/curlout.txt
curl -s -I -f https://${PROJNAME}.ddev.site:9201
curl -s -I -f https://${PROJNAME}.ddev.site:5601
}

teardown() {
Expand Down

0 comments on commit 76c6499

Please sign in to comment.