Merge pull request #9600 from lightningnetwork/yy-more-flakes

lntest+itest: document and fix more flakes
This commit is contained in:
Yong authored and GitHub committed 2025-03-21 03:23:02 +08:00
commit 09b6745086
10 files changed
+104 -31

No files matched your search

+2
View File
@@ -500,6 +500,7 @@ func testSweepCPFPAnchorIncomingTimeout(ht *lntest.HarnessTest) {
carol.RPC.SettleInvoice(preimage[:])
// Bob should have settled his outgoing HTLC with Carol.
flakeInconsistentHTLCView()
ht.AssertHTLCNotActive(bob, bcChanPoint, payHash[:])
// We'll now mine enough blocks to trigger Bob to force close channel
@@ -851,6 +852,7 @@ func testSweepHTLCs(ht *lntest.HarnessTest) {
carol.RPC.SettleInvoice(preimageSettled[:])
// Bob should have settled his outgoing HTLC with Carol.
flakeInconsistentHTLCView()
ht.AssertHTLCNotActive(bob, bcChanPoint, payHashSettled[:])
// Let Carol go offline so we can focus on testing Bob's sweeping