Skip to content

Commit

Permalink
fix: flaky TestFindPeerWithQueryFilter (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumemichel authored Feb 18, 2025
1 parent 095ad17 commit 3c7e16c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dht_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1315,7 +1315,7 @@ func TestFindPeerWithQueryFilter(t *testing.T) {

require.Eventually(t, func() bool {
return len(dhts[2].host.Network().ConnsToPeer(filteredPeer.ID())) > 0
}, 5*time.Millisecond, time.Millisecond, "failed to connect to peer")
}, 30*time.Millisecond, time.Millisecond, "failed to connect to peer")

ctxT, cancel := context.WithTimeout(ctx, time.Second)
defer cancel()
Expand Down

0 comments on commit 3c7e16c

Please # to comment.