MCPcopy Index your code
hub / github.com/GoogleCloudPlatform/cloud-sql-proxy / TestMySQLTCP

Function TestMySQLTCP

tests/mysql_test.go:83–94  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

81}
82
83func TestMySQLTCP(t *testing.T) {
84 if testing.Short() {
85 t.Skip("skipping MySQL integration tests")
86 }
87 requireMySQLVars(t)
88 // Prepare the initial arguments
89 args := []string{*mysqlConnName}
90 // Add the IP type flag using the helper
91 args = AddIPTypeFlag(args)
92 // Run the test
93 proxyConnTest(t, args, "mysql", mysqlDSN())
94}
95
96func TestMySQLUnix(t *testing.T) {
97 if testing.Short() {

Callers

nothing calls this directly

Calls 4

requireMySQLVarsFunction · 0.85
AddIPTypeFlagFunction · 0.85
proxyConnTestFunction · 0.85
mysqlDSNFunction · 0.85

Tested by

no test coverage detected