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:
2 files changed
+583
-611
No files matched your search
@@ -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
Reference in new issue
Block a user