proxyConnTest is a test helper to verify the proxy works with a basic connectivity test.
(t *testing.T, args []string, driver, dsn string)
| 100 | |
| 101 | // proxyConnTest is a test helper to verify the proxy works with a basic connectivity test. |
| 102 | func proxyConnTest(t *testing.T, args []string, driver, dsn string) { |
| 103 | proxyConnTestWithReady(t, args, driver, dsn, func() error { return nil }) |
| 104 | } |
| 105 | |
| 106 | // testHealthCheck verifies that when a proxy client serves the given instance, |
| 107 | // the readiness endpoint serves http.StatusOK. |
no test coverage detected