lntest+itest: add new test testPaymentHTLCTimeout

This commit adds a new test case to validate that when an HTLC has timed
out, the corresponding payment is marked as failed.
This commit is contained in:
yyforyongyu authored and yyforyongyu committed 2024-08-07 22:17:58 +08:00
1 parent 0928ba0149
commit 941716d60e
3 files changed
+332 -3

No files matched your search

+8
View File
@@ -654,4 +654,12 @@ var allTestCases = []*lntest.TestCase{
Name: "coop close with external delivery",
TestFunc: testCoopCloseWithExternalDelivery,
},
{
Name: "payment failed htlc local swept",
TestFunc: testPaymentFailedHTLCLocalSwept,
},
{
Name: "payment succeeded htlc remote swept",
TestFunc: testPaymentSucceededHTLCRemoteSwept,
},
}