itest: break testChannelBackupRestore into smaller tests

This commit breaks the large `testChannelBackupRestore` into smaller
tests to take advantage of our parallel testing framework. A smaller
test also makes the debugging easier, hence better code health.
This commit is contained in:
yyforyongyu committed 2022-10-27 01:11:34 +08:00
1 parent 78de9dae05
commit f202d27324
2 files changed
+583 -611

No files matched your search

+18 -2
View File
@@ -48,8 +48,24 @@ var allTestCasesTemp = []*lntemp.TestCase{
TestFunc: testExternalFundingChanPoint,
},
{
Name: "channel backup restore",
TestFunc: testChannelBackupRestore,
Name: "channel backup restore basic",
TestFunc: testChannelBackupRestoreBasic,
},
{
Name: "channel backup restore unconfirmed",
TestFunc: testChannelBackupRestoreUnconfirmed,
},
{
Name: "channel backup restore commit types",
TestFunc: testChannelBackupRestoreCommitTypes,
},
{
Name: "channel backup restore force close",
TestFunc: testChannelBackupRestoreForceClose,
},
{
Name: "channel backup restore legacy",
TestFunc: testChannelBackupRestoreLegacy,
},
{
Name: "data loss protection",
File diff suppressed because it is too large. Load diff