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

Function TestContextRequestWithDeadline

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

Source from the content-addressed store, hash-verified

387}
388
389func TestContextRequestWithDeadline(t *testing.T) {
390 s := RunDefaultServer()
391 defer s.Shutdown()
392
393 nc := NewDefaultConnection(t)
394 defer nc.Close()
395
396 testContextRequestWithDeadline(t, nc)
397}
398
399func TestOldContextRequestWithDeadline(t *testing.T) {
400 s := RunDefaultServer()

Callers

nothing calls this directly

Calls 4

RunDefaultServerFunction · 0.70
NewDefaultConnectionFunction · 0.70
CloseMethod · 0.45

Tested by

no test coverage detected