Codebase list golang-github-go-kit-kit / a119c95
Merge pull request #1122 from sagikazarmark/nats-test-panic Fix nats test panics Márk Sági-Kazár authored 2 years ago GitHub committed 2 years ago
1 changed file(s) with 0 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
4141 t.Fatal("not yet running")
4242 }
4343
44 t.Log(s.Addr().String())
45
4644 if ok := s.ReadyForConnections(5 * time.Second); !ok {
4745 t.Fatal("not ready for connections")
4846 }
49
50 //if n := s.NumSubscriptions(); n > 0 {
51 // t.Fatalf("found %d active subscriptions on the server", n)
52 //}
5347
5448 c, err := nats.Connect("nats://"+s.Addr().String(), nats.Name(t.Name()))
5549 if err != nil {