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

Function RunBasicJetStreamServer

jetstream/test/helper_test.go:112–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

110}
111
112func RunBasicJetStreamServer() *server.Server {
113 opts := natsserver.DefaultTestOptions
114 opts.Port = -1
115 opts.JetStream = true
116 return RunServerWithOptions(opts)
117}
118
119func createConfFile(t *testing.T, content []byte) string {
120 t.Helper()

Callers 15

TestConsumerInfoFunction · 0.70
TestConsumerOverflowFunction · 0.70
TestConsumerPinnedFunction · 0.70
TestConsumerUnpinFunction · 0.70
TestConsumerPrioritizedFunction · 0.70
TestConsumerCachedInfoFunction · 0.70
TestMessageDetailsFunction · 0.70
TestAckVariantsFunction · 0.70
TestPushConsumerConsumeFunction · 0.70

Calls 1

RunServerWithOptionsFunction · 0.70

Tested by

no test coverage detected