diff options
author | Simon L <szaimen@e.mail.de> | 2022-10-27 13:07:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-27 13:07:27 +0200 |
commit | 9ba3f264c0df619f2ee9c8edde0dfa291764f910 (patch) | |
tree | 7be531e66e6def171e36c7db08a90e3d8b34f4a8 | |
parent | a0dea4639f0481454013c0f8f90f03e0f7ee9fce (diff) | |
parent | 32b1d4fc8e61d5ed4b355c8d0393b069590e339a (diff) | |
download | nextcloud-server-9ba3f264c0df619f2ee9c8edde0dfa291764f910.tar.gz nextcloud-server-9ba3f264c0df619f2ee9c8edde0dfa291764f910.zip |
Merge pull request #34736 from nextcloud/bugfix/autotest-with-postgresql
Fix autotest creating PostgreSQL database before install
-rwxr-xr-x | autotest.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autotest.sh b/autotest.sh index 00e6b96836b..f748cbbed12 100755 --- a/autotest.sh +++ b/autotest.sh @@ -307,7 +307,7 @@ function execute_tests { if [ "$DB" == "pgsql" ] ; then if [ ! -z "$USEDOCKER" ] ; then echo "Fire up the postgres docker" - DOCKER_CONTAINER_ID=$(docker run -e POSTGRES_USER="$DATABASEUSER" -e POSTGRES_PASSWORD=owncloud -d postgres) + DOCKER_CONTAINER_ID=$(docker run -e POSTGRES_DB="$DATABASENAME" -e POSTGRES_USER="$DATABASEUSER" -e POSTGRES_PASSWORD=owncloud -d postgres) DATABASEHOST=$(docker inspect --format="{{.NetworkSettings.IPAddress}}" "$DOCKER_CONTAINER_ID") echo "Waiting for Postgres initialisation ..." |