Files
purple-electrumwallet/tests
davide 7d433d0b44 tests: fix flaky LN tests (MPP timeout and orphaned tasks)
Two fixes:

1. test_trampoline_mpp_consolidation: set dave.MPP_EXPIRY=120 when
   test_mpp_consolidation=True. With MPP_EXPIRY=2s and sequential HTLC
   commitment rounds, Dave times out before the second HTLC arrives.

2. test_reestablish_fake_data: use explicit Task references in the
   payment setup phase so that loop tasks (message loops, htlc_switch)
   are cancelled in a finally block regardless of whether pay() succeeds
   or raises. Without this, asyncio.gather leaves orphaned tasks running
   across sub-test iterations when a payment fails, causing interference
2026-04-29 16:04:29 +02:00
..
2026-03-20 18:12:55 +00:00
2026-04-27 16:28:19 +02:00
2026-03-20 18:12:55 +00:00
2025-08-27 15:31:43 +02:00
2024-06-10 20:22:20 +00:00