Skip to content

Commit

Permalink
fix: a 5 second expiry expires on the 6th second when the retry is ev…
Browse files Browse the repository at this point in the history
…ery 1 second. Increase sleep time to 7 seconds
  • Loading branch information
rahulghangas committed Jul 28, 2021
1 parent 353bda3 commit ec1a158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transport/transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var _ = Describe("Transport", func() {
transport.Send(ctx, privKey2.Signatory(), wire.Msg{})
}()

time.Sleep(6 * time.Second)
time.Sleep(7 * time.Second)
cancel()

_, ok = table.PeerAddress(privKey2.Signatory())
Expand Down

0 comments on commit ec1a158

Please sign in to comment.