Skip to content

Commit 3c7e16c

Browse files
fix: flaky TestFindPeerWithQueryFilter (#1034)
1 parent 095ad17 commit 3c7e16c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dht_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ func TestFindPeerWithQueryFilter(t *testing.T) {
13151315

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

13201320
ctxT, cancel := context.WithTimeout(ctx, time.Second)
13211321
defer cancel()

0 commit comments

Comments
 (0)