Skip to content

Commit

Permalink
fix(kademlia): flaky prune test (#1989)
Browse files Browse the repository at this point in the history
  • Loading branch information
acud committed Jun 4, 2021
1 parent 741bcc5 commit c13b6ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/topology/kademlia/kademlia_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ func TestAddressBookPrune(t *testing.T) {
*kademlia.TimeToRetry = t
}(*kademlia.TimeToRetry)

*kademlia.TimeToRetry = 50 * time.Millisecond
*kademlia.TimeToRetry = 20 * time.Millisecond

var (
conns, failedConns int32 // how many connect calls were made to the p2p mock
Expand Down

0 comments on commit c13b6ba

Please sign in to comment.