fix(tests): update database host from localhost to 127.0.0.1
Integration Tests / integration-test (push) Failing after 1m15s
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user