lightning/tests
Rusty Russell 8e1d5c19d6 pytest: test to reproduce "channeld: sent ERROR bad reestablish revocation_number: 0 vs 3"
It's caused by a reconnection race: we hold the new incoming connection while we
ask lightningd to kill the old connection.  But under some circumstances we leave
the new incoming hanging (with, in this case, old reestablish messages unread!)
and another connection comes in.

Then, later we service the long-gone "incoming" connection, channeld
reads the ancient reestablish message and gets upset.

This test used to hang, but now we've fixed reconnection races it is fine.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-07-18 20:50:04 -05:00
..
data inflights: save the whole psbt to the database 2021-05-24 12:17:48 +09:30
fuzz check: make sure all files outside contrib/ include "config.h" first. 2021-12-06 10:05:39 +10:30
plugins Makefile: use a library archive for CCAN 2022-07-17 08:51:02 +09:30
vectors pytest: Remove onion test vectors containing legacy onions. 2022-03-18 09:20:11 +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: Use valgrind target suppressions instead of skipping tests 2022-03-10 10:21:41 +10:30
test_cln_rs.py lightningd: change msatoshi args to amount_msat. 2022-06-21 06:52:35 +09:30
test_closing.py tests: massively speed up our wait for enormous feerates 2022-07-15 22:16:27 +09:30
test_connection.py pytest: test to reproduce "channeld: sent ERROR bad reestablish revocation_number: 0 vs 3" 2022-07-18 20:50:04 -05: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 options: set DNS port to network default if not specified 2022-07-17 23:26:07 +02:00
test_invoices.py plugin: autoclean fix double free when re-enable, remove xfail mark from test_ 2022-07-16 14:19:05 +09:30
test_misc.py lightningd/connect_control: remove param_tok from connect. 2022-07-15 12:24:00 -05:00
test_onion.py lightningd: remove support for legacy onion format. 2022-03-18 09:20:11 +10:30
test_opening.py dual-fund: Fail if you try to buy a liquidity ad w/o dualfunding on 2022-07-13 12:29:50 -05:00
test_pay.py sendpay: allow route to contain both amount_msat and (deprecated) msatoshi. 2022-07-12 12:42:05 -05:00
test_plugin.py decode: support decoding runes. 2022-07-17 08:51:02 +09:30
test_wallet.py pyln-testing: use files for stdout and stderr, not threads. 2022-06-27 17:21:35 +09:30
utils.py bolt: Reflect the zeroconf featurebits in code 2022-07-04 22:14:06 +02:00
valgrind-suppressions.txt pytest: Use valgrind target suppressions instead of skipping tests 2022-03-10 10:21:41 +10:30