diff --git a/transport/transport_test.go b/transport/transport_test.go index ebf3997..5685a79 100644 --- a/transport/transport_test.go +++ b/transport/transport_test.go @@ -44,7 +44,7 @@ var _ = Describe("Transport", func() { _, ok := table.PeerAddress(privKey2.Signatory()) Expect(ok).To(BeTrue()) - ctx, cancel := context.WithTimeout(context.Background(), 10*time.Second) + ctx, cancel := context.WithCancel(context.Background()) go func() { transport.Send(ctx, privKey2.Signatory(), wire.Msg{}) }()