can't run pgsql integration tests locally: unable to access minio (not started via docker) /missing from documentation #13552

Closed
opened 2025-11-02 10:45:49 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @sommerf-lf on GitHub (Oct 1, 2024).

Description

The way provided in the docu as described in tests/integration/README.md the command (TEST_PGSQL_HOST=localhost:5432 TEST_PGSQL_DBNAME=test TEST_PGSQL_USERNAME=postgres TEST_PGSQL_PASSWORD=postgres make test-pgsql) to start the test-pgsql fails, as minio is not running. The command to start the according docker container is missing (like also for postgres).
This has nothing really to do with postgres, just the integration test pgsql.ini.tmpl which uses minio.

Gitea Version

f4b8f6f

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

image

Git Version

No response

Operating System

Linux/Ubutnu

How are you running Gitea?

Dev environment for integration tests

Database

None

Originally created by @sommerf-lf on GitHub (Oct 1, 2024). ### Description The way provided in the docu as described in tests/integration/README.md the command (`TEST_PGSQL_HOST=localhost:5432 TEST_PGSQL_DBNAME=test TEST_PGSQL_USERNAME=postgres TEST_PGSQL_PASSWORD=postgres make test-pgsql`) to start the test-pgsql fails, as minio is not running. The command to start the according docker container is missing (like also for postgres). This has nothing really to do with postgres, just the integration test pgsql.ini.tmpl which uses minio. ### Gitea Version f4b8f6f ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots ![image](https://github.com/user-attachments/assets/a228fe06-ef35-4cb3-b380-5fb0e5583aa7) ### Git Version _No response_ ### Operating System Linux/Ubutnu ### How are you running Gitea? Dev environment for integration tests ### Database None
GiteaMirror added the type/bug label 2025-11-02 10:45:49 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13552