MCPcopy
hub / github.com/jackc/pgx / Write

Method Write

pgconn/pgconn_test.go:1821–1824  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

1819}
1820
1821func (m mockConnection) Write(b []byte) (n int, err error) {
1822 time.Sleep(*m.writeLatency)
1823 return m.Conn.Write(b)
1824}
1825
1826func TestConnExecBatchWriteError(t *testing.T) {
1827 t.Parallel()

Callers 15

FuzzFrontendFunction · 0.45
FuzzBackendFunction · 0.45
FlushMethod · 0.45
FlushMethod · 0.45
RunMethod · 0.45
handleStartupMethod · 0.45
computeHMACFunction · 0.45
getTLSCertificateHashFunction · 0.45
WriteMethod · 0.45
WriteMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected