cln/tests
Rusty Russell ac60568398 lightningd: fix case where injectpaymentonion failure results in listsendpays "pending".
If we failed after we register (e.g. channeld not available), we don't
mark it failed.  We shouldn't register until we've definitely created
the htlc.

Changelog-Fixed: `xpay` would sometimes leave payment parts status `pending` in failure cases (as seen in listpays or listsendpays).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Fixes: https://github.com/ElementsProject/lightning/issues/8629
2025-11-04 11:06:50 +10:30
..
data unit tests: update all the gossmaps to have the GOSSIP_STORE_COMPLETED_BIT set. 2025-10-01 13:29:33 +09:30
fuzz ccan: update to get improved grab_file API, and adapt code. 2025-10-26 12:37:58 +10:30
plugins global: remove unnecessary includes from headers. 2025-10-23 06:44:04 +10:30
vectors pytest: Remove onion test vectors containing legacy onions. 2022-03-18 09:20:11 +10:30
__init__.py feat: add pytest config 2025-08-11 11:06:22 +09:30
autogenerate-rpc-examples.py autogenerate-rpc-examples.py: add examples for listchainmoves and listchannelmoves. 2025-10-24 11:30:17 +10:30
benchmark.py pytest: always provide payment_secret when making payments. 2021-07-14 14:38:00 -05:00
conftest.py pytest: use --developer instead of environment variable. 2023-09-21 20:08:24 +09:30
fixtures.py tests: do not leak file descriptors 2025-09-15 11:19:17 +09:30
pytest.ini feat: add pytest config 2025-08-11 11:06:22 +09:30
rkls_github_canned_server.py fix: replace deprecated flask.escape with markupsafe.escape 2025-08-11 11:06:22 +09:30
test_askrene.py askrene: implement 10-second deadline. 2025-11-03 12:54:37 +10:30
test_bookkeeper.py bookkeeper: fix assert() which happens with parallel queries. 2025-11-03 14:03:25 +10:30
test_cln_lsps.py tests: skip certain tests if RUST is not enabled 2025-10-02 10:19:27 +09:30
test_cln_rs.py tests: skip certain tests if RUST is not enabled 2025-10-02 10:19:27 +09:30
test_clnrest.py tests: skip certain tests if RUST is not enabled 2025-10-02 10:19:27 +09:30
test_closing.py onchaind: don't consider our anchors to be payments into the wallet. 2025-08-14 19:49:09 +09:30
test_coinmoves.py pytest: print useful information if we don't get our channelmoves/chainmoves 2025-10-22 19:43:24 +10:30
test_connection.py tests: skip certain tests if RUST is not enabled 2025-10-02 10:19:27 +09:30
test_db.py wallet: fix incorrect channel_htlcs id migration. 2025-05-17 13:05:04 -05:00
test_gossip.py pytest: fix flake in test_gossip_force_broadcast_channel_msgs caused by ping timeout. 2025-05-16 22:40:45 +09:30
test_invoices.py BOLT11: Make payment secret field ('s') mandatory 2025-07-07 11:18:37 +09:30
test_misc.py plugins/bcli: use -stdin to feed arguments, in case we have a giant tx. 2025-11-03 14:49:33 +10:30
test_mkfunding.py pytest: add tests for devtools/mkfunding 2023-01-09 14:50:30 -06:00
test_onion.py lightningd: remove support for legacy onion format. 2022-03-18 09:20:11 +10:30
test_opening.py connectd: simplify logic, and add a "reconnected" message. 2025-10-01 12:12:56 +09:30
test_pay.py lightningd: fix case where injectpaymentonion failure results in listsendpays "pending". 2025-11-04 11:06:50 +10:30
test_plugin.py plugins/bcli: use -stdin to feed arguments, in case we have a giant tx. 2025-11-03 14:49:33 +10:30
test_reckless.py pytest: fix flake in reckless install timeout. 2025-09-30 11:37:31 +09:30
test_renepay.py pytest: fix race in test_renepay where we didn't wait for all channels. 2025-04-16 08:02:14 +09:30
test_restart.py splice: tx_abort no longer reestablishes 2024-11-21 14:15:36 +10:30
test_runes.py pytest: fix up bolt11 tests to include s field. 2025-07-07 11:18:37 +09:30
test_splice.py bkpr: add bookkeeping assertions to splice in + out tests 2024-11-17 14:25:29 +10:30
test_splicing.py lightningd: cancel watching original funding when we switch to the new one via splice. 2025-10-24 11:30:17 +10:30
test_splicing_disconnect.py pytest: fix test_splice_disconnect_commit 2025-01-27 11:07:04 +10:30
test_splicing_insane.py splice: Allow splice_update to return signatures 2024-11-12 06:42:52 +10:30
test_wallet.py pytest: don't ask for p2tr addresses on liquid. 2025-10-26 12:37:58 +10:30
test_xpay.py pytest: fix test_xpay_fake_channeld flake 2025-09-30 11:37:31 +09:30
utils.py lightningd: add listchainmoves and listchannelmoves commands. 2025-08-19 13:37:50 +09:30
valgrind-suppressions.txt pytest: Use valgrind target suppressions instead of skipping tests 2022-03-10 10:21:41 +10:30