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

Function TestContextRequestWithTimeoutCanceled

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

Source from the content-addressed store, hash-verified

186}
187
188func TestContextRequestWithTimeoutCanceled(t *testing.T) {
189 s := RunDefaultServer()
190 defer s.Shutdown()
191
192 nc := NewDefaultConnection(t)
193 defer nc.Close()
194
195 testContextRequestWithTimeoutCanceled(t, nc)
196}
197
198func TestOldContextRequestWithTimeoutCanceled(t *testing.T) {
199 s := RunDefaultServer()

Callers

nothing calls this directly

Calls 4

RunDefaultServerFunction · 0.70
NewDefaultConnectionFunction · 0.70
CloseMethod · 0.45

Tested by

no test coverage detected