itest: add missing topology check in tests

This commit adds the missing topology checks.
This commit is contained in:
yyforyongyu
2022-11-14 21:35:08 +08:00
parent d97f52d12a
commit 8288d3da8e
3 changed files with 15 additions and 1 deletions

View File

@ -341,6 +341,9 @@ func runMultiHopSendToRoute(ht *lntest.HarnessTest, useGraphCache bool) {
)
defer ht.CloseChannel(carol, chanPointBob)
// Make sure Alice knows the channel between Bob and Carol.
ht.AssertTopologyChannelOpen(alice, chanPointBob)
// Create 5 invoices for Carol, which expect a payment from Alice for
// 1k satoshis with a different preimage each time.
const (