core-lightning/tests
Simon Vrouwe 2240f09f8b testing: fix test_closing_higherfee
shutdown_subdaemons frees the channel and calls destroy_close_command_on_channel_destroy, see gdb:

    0  destroy_close_command_on_channel_destroy (_=0x55db6ca38e18, cc=0x55db6ca43338) at lightningd/closing_control.c:94
    1  0x000055db6a8181b5 in notify (ctx=0x55db6ca38df0, type=TAL_NOTIFY_FREE, info=0x55db6ca38e18, saved_errno=0) at ccan/ccan/tal/tal.c:237
    2  0x000055db6a8186bb in del_tree (t=0x55db6ca38df0, orig=0x55db6ca38e18, saved_errno=0) at ccan/ccan/tal/tal.c:402
    3  0x000055db6a818a47 in tal_free (ctx=0x55db6ca38e18) at ccan/ccan/tal/tal.c:486
    4  0x000055db6a73fffa in shutdown_subdaemons (ld=0x55db6c8b4ca8) at lightningd/lightningd.c:543
    5  0x000055db6a741098 in main (argc=21, argv=0x7ffffa3e8048) at lightningd/lightningd.c:1192

Before this PR, there was no io_loop after shutdown_subdaemons and client side raised a
general `Connection to RPC server lost.`
Now we test the more specific `Channel forgotten before proper close.`, which is good!

BTW, this test was added recently in PR #4599.
2021-11-30 13:34:44 +10:30
..
data inflights: save the whole psbt to the database 2021-05-24 12:17:48 +09:30
fuzz common: use bitcoin_outpoint. 2021-10-15 12:09:36 +02:00
plugins testing: test that RPC calls made in shutdown fail and receive error code -5 2021-11-30 13:34:44 +10:30
vectors pytest: Add tests for the sphinx onion generation and processing 2020-03-12 10:25:01 +10:30
benchmark.py pytest: always provide payment_secret when making payments. 2021-07-14 14:38:00 -05:00
conftest.py tests: add marker for v1/v2 channel opens 2021-05-12 11:25:41 +09:30
db.py pytest: don't copy db to query it. 2021-08-26 12:44:02 +09:30
fixtures.py pytest: add schema support for JSON responses. 2021-05-27 20:28:49 +09:30
test_closing.py testing: fix test_closing_higherfee 2021-11-30 13:34:44 +10:30
test_connection.py experimental-websocket-port: option to create a WebSocket port. 2021-10-22 11:56:30 +02:00
test_db.py wallet/db_sqlite3.c: Support direct replication of SQLITE3 backends. 2021-11-17 12:10:07 +10:30
test_gossip.py chore: use EXPERIMENTAL for BOLT7 DNS #911 2021-11-30 09:38:17 +10:30
test_invoices.py Makefile: update spec version 2021-09-09 12:04:48 +09:30
test_misc.py testing: remove test_stop_pending_fundchannel 2021-11-30 13:34:44 +10:30
test_onion.py pytest: Actually make sure that the direcory exists 2020-03-24 09:52:33 +10:30
test_opening.py On Mac OS X a different error is raised on failed connection 2021-10-10 13:22:29 +02:00
test_pay.py pytest: don't create 5 nodes in test_fetchinvoice. 2021-11-14 18:49:46 +01:00
test_plugin.py testing: test that RPC calls made in shutdown fail and receive error code -5 2021-11-30 13:34:44 +10:30
test_wallet.py pytest: ensure hsmtool tests do complete writes. 2021-09-21 20:19:03 +09:30
utils.py features: EXPERIMENTAL_FEATURES: advertize option_quiesce 2021-10-08 16:07:21 +02:00