(t *testing.T)
| 58 | } |
| 59 | |
| 60 | func TestPostgresTCP(t *testing.T) { |
| 61 | if testing.Short() { |
| 62 | t.Skip("skipping Postgres integration tests") |
| 63 | } |
| 64 | requirePostgresVars(t) |
| 65 | // Prepare the initial arguments |
| 66 | args := []string{*postgresConnName} |
| 67 | // Add the IP type flag using the helper |
| 68 | args = AddIPTypeFlag(args) |
| 69 | // Run the test |
| 70 | proxyConnTest(t, args, "pgx", postgresDSN()) |
| 71 | } |
| 72 | |
| 73 | func TestPostgresUnix(t *testing.T) { |
| 74 | if testing.Short() { |
nothing calls this directly
no test coverage detected