瀏覽代碼

Output a dot for each Postgres connection attempt

Mike Dillon 10 年之前
父節點
當前提交
393aa53b54
共有 2 個文件被更改,包括 2 次插入0 次删除
  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