(t *testing.T)
| 146 | } |
| 147 | |
| 148 | func TestMySQLImpersonation(t *testing.T) { |
| 149 | if testing.Short() { |
| 150 | t.Skip("skipping MySQL integration tests") |
| 151 | } |
| 152 | requireMySQLVars(t) |
| 153 | |
| 154 | // Prepare the initial arguments |
| 155 | args := []string{ |
| 156 | "--impersonate-service-account", *impersonatedUser, |
| 157 | *mysqlConnName, |
| 158 | } |
| 159 | // Add the IP type flag using the helper |
| 160 | args = AddIPTypeFlag(args) |
| 161 | // Run the test |
| 162 | proxyConnTest(t, args, "mysql", mysqlDSN()) |
| 163 | } |
| 164 | |
| 165 | func TestMySQLAuthentication(t *testing.T) { |
| 166 | if testing.Short() { |
nothing calls this directly
no test coverage detected