From d7aa7692755dbb9f0b83a568ff3b378a0551366d Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 15 Nov 2017 18:24:52 -0800 Subject: [PATCH] htlcswitch: add additional sleep to end of TestChannelLinkBidirectionalOneHopPayments --- htlcswitch/link_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htlcswitch/link_test.go b/htlcswitch/link_test.go index 06306b28e..a679319ca 100644 --- a/htlcswitch/link_test.go +++ b/htlcswitch/link_test.go @@ -358,6 +358,8 @@ func TestChannelLinkBidirectionalOneHopPayments(t *testing.T) { } } + time.Sleep(time.Second * 2) + // At the end Bob and Alice balances should be the same as previous, // because they sent the equal amount of money to each other. if aliceBandwidthBefore != n.aliceChannelLink.Bandwidth() {