itest+lntest: fix channel force close test

Also flatten the tests to make them easier to be maintained.
This commit is contained in:
yyforyongyu committed 2024-12-20 17:54:12 +08:00
1 parent 9d4a60d613
commit b7feeba008
4 files changed
+160 -245

No files matched your search

+2 -1
View File
@@ -196,7 +196,8 @@ func (h *HarnessTest) mineTillForceCloseResolved(hn *node.HarnessNode) {
return nil
}, DefaultTimeout)
require.NoErrorf(h, err, "assert force close resolved timeout")
require.NoErrorf(h, err, "%s: assert force close resolved timeout",
hn.Name())
}
// AssertTxInMempool asserts a given transaction can be found in the mempool.