diff --git a/setup-postgresql-tests.sh b/setup-postgresql-tests.sh index fc8894ebb..47487ee66 100755 --- a/setup-postgresql-tests.sh +++ b/setup-postgresql-tests.sh @@ -3,7 +3,7 @@ # Start PostgreSQL process for tests PGSQL_DATA=`mktemp -d /tmp/gnocchi-psql-XXXXX` PGSQL_PATH=`pg_config --bindir` -PGSQL_PORT=9823 +PGSQL_PORT=9824 ${PGSQL_PATH}/pg_ctl initdb -D ${PGSQL_DATA} LANGUAGE=C ${PGSQL_PATH}/pg_ctl -w -D ${PGSQL_DATA} -o "-k ${PGSQL_DATA} -p ${PGSQL_PORT}" start > /dev/null export GNOCCHI_TEST_INDEXER_URL="postgresql:///template1?host=${PGSQL_DATA}&port=${PGSQL_PORT}"