Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit ae75342

Browse files
authored
fix: flaky TestSendsWantBlockToOnePeerOnly (#323)
1 parent 1287298 commit ae75342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/session/sessionwantsender_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func (pm *mockPeerManager) SendWants(ctx context.Context, p peer.ID, wantBlocks
8282
}
8383

8484
func (pm *mockPeerManager) waitNextWants() map[peer.ID]*sentWants {
85-
time.Sleep(5 * time.Millisecond)
85+
time.Sleep(10 * time.Millisecond)
8686

8787
pm.lk.Lock()
8888
defer pm.lk.Unlock()

0 commit comments

Comments
 (0)