Skip to content

Commit

Permalink
add a test that would've failed before increasing listenqueue size
Browse files Browse the repository at this point in the history
  • Loading branch information
sukunrt committed Dec 4, 2024
1 parent e98affd commit faeda47
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion p2p/test/basichost/basic_host_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ func TestAddrFactorCertHashAppend(t *testing.T) {
func TestWebRTCDirectDialDelay(t *testing.T) {
// This tests that only webrtc-direct dials are dialled immediately
// and not delayed by dial ranker.

h1, err := libp2p.New(
libp2p.Transport(libp2pwebrtc.New),
libp2p.ListenAddrStrings(
Expand All @@ -228,6 +227,8 @@ func TestWebRTCDirectDialDelay(t *testing.T) {
}

func TestWebRTCWithQUICManyConnections(t *testing.T) {
// Correctly fixes: https://github.com/libp2p/js-libp2p/issues/2805

h, err := libp2p.New(
libp2p.Transport(libp2pquic.NewTransport),
libp2p.Transport(libp2pwebrtc.New),
Expand Down

0 comments on commit faeda47

Please sign in to comment.