Browse Source

Don't use rcmgr in this test (#1799)

pull/1817/head
Marco Munizaga 2 years ago
committed by GitHub
parent
commit
b54a26ba35
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      p2p/protocol/circuitv2/client/reservation_test.go

2
p2p/protocol/circuitv2/client/reservation_test.go

@ -89,7 +89,7 @@ func TestReservationFailures(t *testing.T) {
host.SetStreamHandler(proto.ProtoIDv2Hop, tc.streamHandler)
}
cl, err := libp2p.New()
cl, err := libp2p.New(libp2p.ResourceManager(network.NullResourceManager))
require.NoError(t, err)
defer cl.Close()
_, err = client.Reserve(context.Background(), cl, peer.AddrInfo{ID: host.ID(), Addrs: host.Addrs()})

Loading…
Cancel
Save