fix(tests): update database host from localhost to 127.0.0.1
Integration Tests / integration-test (push) Failing after 1m15s

* Adjust connection strings in integration tests for consistency
* Ensure compatibility with CI environments that use IPv4
This commit is contained in:
2026-09-18 20:38:28 +02:00
parent cca4e1a0ef
commit 567b1d437c
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import (
)
func TestConnection(t *testing.T) {
connStr := "user=user password=password dbname=broker_test port=5433 sslmode=disable"
connStr := "user=user password=password dbname=broker_test host=127.0.0.1 port=5433 sslmode=disable"
var db *sql.DB
var err error