From ec1a1585eccc54ce6fdb8cd1eefa52f1a1da87b9 Mon Sep 17 00:00:00 2001 From: Rahul Ghangas Date: Wed, 28 Jul 2021 16:21:16 +0530 Subject: [PATCH] fix: a 5 second expiry expires on the 6th second when the retry is every 1 second. Increase sleep time to 7 seconds --- transport/transport_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/transport_test.go b/transport/transport_test.go index 978f148..ebf3997 100644 --- a/transport/transport_test.go +++ b/transport/transport_test.go @@ -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())