itest: move channel force closes into one sub test var

This commit is contained in:
yyforyongyu committed 2025-01-26 09:16:02 +08:00
1 parent e4b205cd90
commit bc8c1643c6
3 files changed
+20 -14

No files matched your search

+3 -12
View File
@@ -205,18 +205,6 @@ var allTestCases = []*lntest.TestCase{
Name: "channel unsettled balance",
TestFunc: testChannelUnsettledBalance,
},
{
Name: "channel force closure anchor",
TestFunc: testChannelForceClosureAnchor,
},
{
Name: "channel force closure simple taproot",
TestFunc: testChannelForceClosureSimpleTaproot,
},
{
Name: "failing channel",
TestFunc: testFailingChannel,
},
{
Name: "chain kit",
TestFunc: testChainKit,
@@ -736,6 +724,9 @@ func init() {
allTestCases = appendPrefixed(
"send to route", allTestCases, sendToRouteTestCases,
)
allTestCases = appendPrefixed(
"channel force close", allTestCases, channelForceCloseTestCases,
)
// Prepare the test cases for windows to exclude some of the flaky
// ones.