mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-14 12:37:31 +00:00
set jetstream=true in nats server for testing
This commit is contained in:
parent
3ff67a5f1f
commit
5776baad37
1 changed files with 3 additions and 2 deletions
|
@ -95,6 +95,7 @@ func newNatsServerForTesting(port int) *natsserver.Server {
|
|||
nsOpt := &natsserver.Options{
|
||||
Host: "127.0.0.1",
|
||||
Port: port,
|
||||
JetStream: true,
|
||||
}
|
||||
|
||||
ns, err := natsserver.NewServer(nsOpt)
|
||||
|
|
Loading…
Reference in a new issue