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

Function RunBasicJetStreamServer

test/helper_test.go:133–138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131}
132
133func RunBasicJetStreamServer() *server.Server {
134 opts := natsserver.DefaultTestOptions
135 opts.Port = -1
136 opts.JetStream = true
137 return RunServerWithOptions(&opts)
138}
139
140func createConfFile(t *testing.T, content []byte) string {
141 t.Helper()

Calls 1

RunServerWithOptionsFunction · 0.70

Tested by

no test coverage detected