itest: add missing topology check in tests
This commit adds the missing topology checks.
This commit is contained in:
3 files changed
+15
-1
No files matched your search
@@ -223,6 +223,9 @@ func testRevokedCloseRetributionZeroValueRemoteOutput(ht *lntest.HarnessTest) {
|
||||
// backup.
|
||||
ht.EnsureConnected(dave, carol)
|
||||
|
||||
// Once connected, give Dave some time to enable the channel again.
|
||||
ht.AssertTopologyChannelOpen(dave, chanPoint)
|
||||
|
||||
// Finally, send payments from Dave to Carol, consuming Carol's
|
||||
// remaining payment hashes.
|
||||
ht.CompletePaymentRequestsNoWait(dave, carolPayReqs, chanPoint)
|
||||
@@ -400,6 +403,9 @@ func testRevokedCloseRetributionRemoteHodl(ht *lntest.HarnessTest) {
|
||||
// backup.
|
||||
ht.EnsureConnected(dave, carol)
|
||||
|
||||
// Once connected, give Dave some time to enable the channel again.
|
||||
ht.AssertTopologyChannelOpen(dave, chanPoint)
|
||||
|
||||
// Finally, send payments from Dave to Carol, consuming Carol's
|
||||
// remaining payment hashes.
|
||||
ht.CompletePaymentRequestsNoWait(
|
||||
@@ -726,6 +732,9 @@ func testRevokedCloseRetributionAltruistWatchtowerCase(ht *lntest.HarnessTest,
|
||||
// backup.
|
||||
ht.EnsureConnected(dave, carol)
|
||||
|
||||
// Once connected, give Dave some time to enable the channel again.
|
||||
ht.AssertTopologyChannelOpen(dave, chanPoint)
|
||||
|
||||
// Finally, send payments from Dave to Carol, consuming Carol's
|
||||
// remaining payment hashes.
|
||||
ht.CompletePaymentRequestsNoWait(dave, carolPayReqs, chanPoint)
|
||||
|
||||
Reference in new issue
Block a user