Commit 125e864e authored by Thanassis Tsiodras's avatar Thanassis Tsiodras
Browse files

In Buster's postgres, we must not pass host (auth fails that way).

parent d2dfaeec
Pipeline #2148 canceled with stage
in 4 minutes and 12 seconds
...@@ -4,7 +4,7 @@ cleanDB: ...@@ -4,7 +4,7 @@ cleanDB:
# PostgreSQL # PostgreSQL
/etc/init.d/postgresql restart /etc/init.d/postgresql restart
# Since postgres takes a while to start, do this until it succeeds # Since postgres takes a while to start, do this until it succeeds
bash -c "while true ; do echo 'drop database if exists circle_test; create database circle_test;' | psql -h 127.0.0.1 -U ubuntu postgres && break ; done" bash -c "while true ; do echo 'drop database if exists circle_test; create database circle_test;' | psql -U ubuntu postgres && break ; done"
rm -f sql.log rm -f sql.log
# #
# MySQL (is a toy - disabled related tests) # MySQL (is a toy - disabled related tests)
...@@ -33,7 +33,7 @@ print: ...@@ -33,7 +33,7 @@ print:
echo "========" ; \ echo "========" ; \
echo PostgreSQL Content of $$i ; \ echo PostgreSQL Content of $$i ; \
echo "========" ; \ echo "========" ; \
echo "select * from \"$$i\" " | psql -h 127.0.0.1 -U ubuntu circle_test ; \ echo "select * from \"$$i\" " | psql -U ubuntu circle_test ; \
done done
# @for i in MyInt My2ndInt MySeq MyChoice TypeEnumerated MySuperSeq T_ARR T_ARR_indexes T_ARR_elm ; do \ # @for i in MyInt My2ndInt MySeq MyChoice TypeEnumerated MySuperSeq T_ARR T_ARR_indexes T_ARR_elm ; do \
# echo "========" ; \ # echo "========" ; \
......
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