MCPcopy
hub / github.com/go-sql-driver/mysql / TestDialTemporaryNetErr

Function TestDialTemporaryNetErr

driver_test.go:2039–2042  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

2037}
2038
2039func TestDialTemporaryNetErr(t *testing.T) {
2040 testErr := netErrorMock{temporary: true}
2041 testDialError(t, testErr, testErr)
2042}
2043
2044// Tests custom dial functions
2045func TestCustomDial(t *testing.T) {

Callers

nothing calls this directly

Calls 1

testDialErrorFunction · 0.85

Tested by

no test coverage detected