From 46d4f7216e9f617707b72f0bab39113aea997b8d Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 18 Oct 2017 15:13:36 -0700 Subject: [PATCH] test: in testBasicChannelFunding also wait for bob to see channel --- lnd_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lnd_test.go b/lnd_test.go index d20c18d8..5addf8e8 100644 --- a/lnd_test.go +++ b/lnd_test.go @@ -359,6 +359,10 @@ func testBasicChannelFunding(net *networkHarness, t *harnessTest) { if err != nil { t.Fatalf("alice didn't report channel: %v", err) } + err = net.Bob.WaitForNetworkChannelOpen(ctxt, chanPoint) + if err != nil { + t.Fatalf("bob didn't report channel: %v", err) + } // With then channel open, ensure that the amount specified above has // properly been pushed to Bob.