Skip to content

Commit

Permalink
test(transport/nats): remove unused code
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
  • Loading branch information
sagikazarmark committed Jun 24, 2021
1 parent da4f1d0 commit 835cefb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions transport/nats/subscriber_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ func newNATSConn(t *testing.T) (*server.Server, *nats.Conn) {
t.Fatal("not ready for connections")
}

//if n := s.NumSubscriptions(); n > 0 {
// t.Fatalf("found %d active subscriptions on the server", n)
//}

c, err := nats.Connect("nats://"+s.Addr().String(), nats.Name(t.Name()))
if err != nil {
t.Fatalf("failed to connect to NATS server: %s", err)
Expand Down

0 comments on commit 835cefb

Please sign in to comment.