Skip to content

Commit

Permalink
attempt to run tests in a tester sidecar
Browse files Browse the repository at this point in the history
Signed-off-by: R.I.Pienaar <rip@devco.net>
  • Loading branch information
ripienaar committed Feb 24, 2025
1 parent 64848c0 commit 737f352
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ package test

import (
"fmt"
"log"
"os"
"path/filepath"
"testing"
Expand Down Expand Up @@ -42,6 +43,7 @@ func withTesterJetStreamCluster(t *testing.T, fn func(*testing.T, *jsm.Manager,
})

client.WithJetStreamCluster(t, 3, func(t *testing.T, nc *nats.Conn, servers []*testapi.ManagedServer) {
log.Printf("Connected to %v", nc.ConnectedUrl())
mgr, err := jsm.New(nc)
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 737f352

Please sign in to comment.