Skip to content

Commit cb5cd95

Browse files
authored
run-test: echo COUCH_HOST value when waiting (#8761)
If trying to debug a failure to connect to COUCH_HOST, it's reassuring to be explicitly told the URL of the COUCH_HOST that run-test is failing to connect to.
1 parent ad98df0 commit cb5cd95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/run-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ if [ "$SERVER" == "couchdb-master" ]; then
118118
./node_modules/.bin/add-cors-to-couchdb $COUCH_HOST
119119
fi
120120

121-
printf 'Waiting for host to start .'
121+
printf "Waiting for host to start on $COUCH_HOST..."
122122
WAITING=0
123123
until $(curl --output /dev/null --silent --head --fail --max-time 2 $COUCH_HOST); do
124124
if [ $WAITING -eq 4 ]; then

0 commit comments

Comments
 (0)