From 4fdce8b4485e3e64a37094f540ca08d8cf354758 Mon Sep 17 00:00:00 2001 From: yyforyongyu Date: Fri, 3 Feb 2023 01:28:03 +0800 Subject: [PATCH] itest: fix flake in `testChannelFundingPersistence` --- itest/lnd_funding_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/itest/lnd_funding_test.go b/itest/lnd_funding_test.go index 8be4da242..82ac7f153 100644 --- a/itest/lnd_funding_test.go +++ b/itest/lnd_funding_test.go @@ -690,6 +690,11 @@ func testChannelFundingPersistence(ht *lntest.HarnessTest) { chanAlice := ht.AssertChannelExists(alice, chanPoint) ht.AssertChannelExists(carol, chanPoint) + // Make sure Alice and Carol have seen the channel in their network + // topology. + ht.AssertTopologyChannelOpen(alice, chanPoint) + ht.AssertTopologyChannelOpen(carol, chanPoint) + // Create an additional check for our channel assertion that will // check that our label is as expected. shortChanID := lnwire.NewShortChanIDFromInt(chanAlice.ChanId)