MCPcopy
hub / github.com/nats-io/nats.go / TestContextRequestWithTimeout

Function TestContextRequestWithTimeout

test/context_test.go:117–125  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

115}
116
117func TestContextRequestWithTimeout(t *testing.T) {
118 s := RunDefaultServer()
119 defer s.Shutdown()
120
121 nc := NewDefaultConnection(t)
122 defer nc.Close()
123
124 testContextRequestWithTimeout(t, nc)
125}
126
127func TestOldContextRequestWithTimeout(t *testing.T) {
128 s := RunDefaultServer()

Callers

nothing calls this directly

Calls 4

RunDefaultServerFunction · 0.70
NewDefaultConnectionFunction · 0.70
CloseMethod · 0.45

Tested by

no test coverage detected