htlcswitch: add additional sleep to end of TestChannelLinkBidirectionalOneHopPayments

This commit is contained in:
Olaoluwa Osuntokun 2017-11-15 18:24:52 -08:00
parent 1be2a2a56a
commit d7aa769275
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21
1 changed files with 2 additions and 0 deletions

View File

@ -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, // At the end Bob and Alice balances should be the same as previous,
// because they sent the equal amount of money to each other. // because they sent the equal amount of money to each other.
if aliceBandwidthBefore != n.aliceChannelLink.Bandwidth() { if aliceBandwidthBefore != n.aliceChannelLink.Bandwidth() {