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
@@ -47,7 +47,7 @@ func TestRLSTenantIsolation(t *testing.T) {
}
runtimeDB, err := sql.Open("postgres",
"user=test_broker_runtime password=test-pass dbname=broker_test host=localhost port=5433 sslmode=disable options='-c search_path=broker,public'")
"user=test_broker_runtime password=test-pass dbname=broker_test host=127.0.0.1 port=5433 sslmode=disable options='-c search_path=broker,public'")
require.NoError(t, err)
defer runtimeDB.Close()
require.NoError(t, runtimeDB.Ping())