Skip to content

Commit

Permalink
fix test race
Browse files Browse the repository at this point in the history
  • Loading branch information
sukunrt committed Oct 26, 2023
1 parent 576a251 commit 1674737
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions p2p/protocol/identify/id_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -844,8 +844,10 @@ func TestIncomingIDStreamsTimeout(t *testing.T) {
func TestOutOfOrderConnectedNotifs(t *testing.T) {
h1, err := libp2p.New(libp2p.NoListenAddrs)
require.NoError(t, err)
defer h1.Close()
h2, err := libp2p.New(libp2p.ListenAddrs(ma.StringCast("/ip4/127.0.0.1/udp/0/quic-v1")))
require.NoError(t, err)
defer h2.Close()

doneCh := make(chan struct{})
errCh := make(chan error)
Expand Down

0 comments on commit 1674737

Please sign in to comment.