ci: add -a flag and debug print for savedPOSTGRESHost
Backend Tests / test (push) Successful in 1m33s

This commit is contained in:
2026-06-25 11:52:22 +01:00
parent 248756a1fe
commit 2db552db44
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ jobs:
- name: Test (all packages)
working-directory: backend
run: go test -tags "test,dev" -count=1 -v -timeout 120s ./handlers/... ./auth/... ./mw/... ./internal/... ./db/...
run: go test -a -tags "test,dev" -count=1 -v -timeout 120s ./handlers/... ./auth/... ./mw/... ./internal/... ./db/...
env:
POSTGRES_HOST: postgres
TEST_DB_HOST: postgres
+1
View File
@@ -114,6 +114,7 @@ func TestConcurrentQueries(t *testing.T) {
closePool()
resetEnv()
t.Logf("savedPOSTGRESHost=%q POSTGRES_HOST=%q", savedPOSTGRESHost, os.Getenv("POSTGRES_HOST"))
err := Connect()
if err != nil {
t.Fatalf("Connect() failed: %v", err)