Explorar o código

Output a dot for each Postgres connection attempt

Mike Dillon %!s(int64=10) %!d(string=hai) anos
pai
achega
393aa53b54
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      test/tests/postgres-basics/run.sh
  2. 1 0
      test/tests/postgres-initdb/run.sh

+ 1 - 0
test/tests/postgres-basics/run.sh

@@ -35,6 +35,7 @@ while ! echo 'SELECT 1' | psql &> /dev/null; do
 		echo 'SELECT 1' | psql # to hopefully get a useful error message
 		false
 	fi
+	echo >&2 -n .
 	sleep "$POSTGRES_TEST_SLEEP"
 done
 

+ 1 - 0
test/tests/postgres-initdb/run.sh

@@ -44,6 +44,7 @@ while ! echo 'SELECT 1' | psql &> /dev/null; do
 		echo 'SELECT 1' | psql # to hopefully get a useful error message
 		false
 	fi
+	echo >&2 -n .
 	sleep "${POSTGRES_TEST_SLEEP}"
 done