Skip to content

Commit

Permalink
fix: brittle test
Browse files Browse the repository at this point in the history
  • Loading branch information
2color committed Dec 6, 2024
1 parent 7182699 commit b0b24e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cached_addr_book_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func TestShouldProbePeer(t *testing.T) {
{
name: "two failures, beyond backoff",
peerState: peerState{
lastFailedConnTime: time.Now().Add(-2 * PeerProbeThreshold),
lastFailedConnTime: time.Now().Add(-3 * PeerProbeThreshold),
connectFailures: 2,
},
expectedResult: true,
Expand Down

0 comments on commit b0b24e0

Please sign in to comment.