Commit 48050349 authored by Boxiang Sun's avatar Boxiang Sun

peertube: test fixup

parent 9dace00a
Pipeline #25154 passed with stage
in 0 seconds
......@@ -54,4 +54,4 @@ md5sum = e50daa16a2c1866997933981bed45271
[template-peertube-restore-script]
filename = template-peertube-restore.sh.in
md5sum = 8624322f998003d172aad333d36bab93
md5sum = 5331fb151b8262c5afb98ffa63b16516
......@@ -73,6 +73,7 @@ echo "Ready to check postgresql is running..."
tpgwait=60
while true; do
pgtables="$(psql -c '\d' 2>&1)" && break
echo pgtables
tpgwait=$(( $tpgwait - 1 ))
test $tpgwait = 0 && die "pg query problem"
echo "I: PostgreSQL is not ready (yet ?); will retry $tpgwait times..." 1>&2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment