Again.

pull/14/head
Sander Vocke 5 years ago
parent 3a20912da9
commit 00627443d5
  1. 2
      server/test/test.sh

@ -74,7 +74,6 @@ if [ ! -z "${DO_POSTGRES}" ]; then
postgres:12)
docker start ${CONTAINERID}
trap "docker stop ${CONTAINERID}" EXIT
# Wait for postgres to be ready.
while true; do
pg_isready -d mudbase -h localhost -p 9432 -U mudbase
@ -86,7 +85,6 @@ if [ ! -z "${DO_POSTGRES}" ]; then
POSTGRES_USER=mudbase POSTGRES_PASSWORD=mudbase POSTGRES_DATABASE=mudbase /docker-entrypoint.sh postgres &
PID=$(echo $!)
trap "kill $PID" EXIT
# Wait for postgres to be ready.
while true; do
/usr/bin/pg_isready -d mudbase -h localhost -p 5432 -U mudbase

Loading…
Cancel
Save