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

Function TestJetStreamManagement_GetMsg

test/js_test.go:3878–3885  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

3876}
3877
3878func TestJetStreamManagement_GetMsg(t *testing.T) {
3879 t.Run("1-node", func(t *testing.T) {
3880 withJSServer(t, testJetStreamManagement_GetMsg)
3881 })
3882 t.Run("3-node", func(t *testing.T) {
3883 withJSCluster(t, "GET", 3, testJetStreamManagement_GetMsg)
3884 })
3885}
3886
3887func testJetStreamManagement_GetMsg(t *testing.T, srvs ...*jsServer) {
3888 s := srvs[0]

Callers

nothing calls this directly

Calls 2

withJSServerFunction · 0.85
withJSClusterFunction · 0.70

Tested by

no test coverage detected