You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running integration test pgsql (tests/integration/README.md) the described config the docker start command (to manually run) is not up to date and errors in: You must specify POSTGRES_PASSWORD to a non-empty value for the superuser
Command: docker run -e "POSTGRES_DB=test" -p 5432:5432 --rm --name pgsql postgres:latest
to then (out of this scope) run: TEST_PGSQL_HOST=localhost:5432 TEST_PGSQL_DBNAME=test TEST_PGSQL_USERNAME=postgres TEST_PGSQL_PASSWORD=postgres make test-pgsql
sommerf-lf
changed the title
can't run pgsql integration tests locally
can't run pgsql integration tests locally: postgres docker container wrong start argument
Oct 1, 2024
Description
When running integration test pgsql (tests/integration/README.md) the described config the docker start command (to manually run) is not up to date and errors in: You must specify POSTGRES_PASSWORD to a non-empty value for the superuser
Command:
docker run -e "POSTGRES_DB=test" -p 5432:5432 --rm --name pgsql postgres:latest
to then (out of this scope) run:
TEST_PGSQL_HOST=localhost:5432 TEST_PGSQL_DBNAME=test TEST_PGSQL_USERNAME=postgres TEST_PGSQL_PASSWORD=postgres make test-pgsql
Gitea Version
f4b8f6f
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
Git Version
No response
Operating System
Linux/Ubuntu
How are you running Gitea?
dev environment
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: