core-lightning/tests
Rusty Russell bf9cdc597e pytest: fix flake in test_custommsg_triggers_notification
If listpeers on l2 is called too fast, then it won't return any peers, and
we will fail:

```
        # Connect l1 to l2
        l1.connect(l2)
>       wait_for(lambda: l2.rpc.listpeers(l1.info['id'])['peers'][0]['connected'])

tests/test_misc.py:2690:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
contrib/pyln-testing/pyln/testing/utils.py:88: in wait_for
    while not success():
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

>   wait_for(lambda: l2.rpc.listpeers(l1.info['id'])['peers'][0]['connected'])
E   IndexError: list index out of range
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-01-29 16:47:33 +10:30
..
data db: migrate old runes table to fix up id fields. 2023-08-31 05:33:15 +09:30
fuzz fuzz: initial fuzz-bolt12-invoice-decode corpus 2024-01-23 20:21:48 +10:30
plugins libplugin: support version strings for deprecations. 2024-01-26 10:30:22 +10: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 pytest: use --developer instead of environment variable. 2023-09-21 20:08:24 +09:30
db.py test-db-provider: if postgres in tests, startup a bookkeeper db 2022-07-28 12:08:18 +09:30
fixtures.py pytest: use --developer instead of environment variable. 2023-09-21 20:08:24 +09:30
rkls_github_canned_server.py pytest: add blackbox tests for reckless 2023-04-09 12:41:11 +09:30
test_bookkeeper.py bkpr: now that we're not doing empty acct logging, we dont need this bool 2024-01-29 10:05:03 +10:30
test_cln_rs.py lightningd: remove msatoshi alias for amount_msat. 2024-01-26 10:30:22 +10:30
test_clnrest.py lightningd: don't print out notification msat fields as strings. 2023-11-21 08:23:39 +01:00
test_closing.py pyln-client: don't automatically turn JSON into Millisatoshi class. 2023-12-16 10:22:01 +01:00
test_connection.py lightningd: make option_static_remotekey compulsory. 2024-01-29 13:40:34 +10:30
test_db.py pytest: use --developer instead of environment variable. 2023-09-21 20:08:24 +09:30
test_gossip.py plugins: re-enable listchannels local info in deprecated mode. 2023-12-14 09:16:56 +10:30
test_invoices.py pytest: note where we use very deprecated features, so tests don't rbeak. 2024-01-26 10:30:22 +10:30
test_misc.py pytest: fix flake in test_custommsg_triggers_notification 2024-01-29 16:47: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 openingd: make channel-type rejection message clearer. 2024-01-29 13:40:34 +10:30
test_pay.py bkpr: dont log unknown accounts with zero balances 2024-01-29 10:05:03 +10:30
test_plugin.py lightningd: make option_static_remotekey compulsory. 2024-01-29 13:40:34 +10:30
test_reckless.py pytest: add reckless local install test 2023-07-27 06:53:49 +09:30
test_renepay.py renepay: accomodate fees in the payment flow 2024-01-29 10:48:24 +10:30
test_runes.py pytest: correctly test missing method for runes. 2023-10-17 14:58:40 +10:30
test_splicing.py topology: don't show private nodes in listnodes. 2023-12-14 09:16:56 +10:30
test_splicing_disconnect.py splice: Reestablish when commit or sig sends fail 2023-11-20 07:35:22 +01:00
test_splicing_insane.py splice: Agressive restart testing during splices 2023-12-15 09:42:45 +10:30
test_wallet.py addpsbtoutput: allow command to specify output address. 2023-11-01 14:11:28 +10:30
utils.py lightningd: make option_static_remotekey compulsory. 2024-01-29 13:40:34 +10:30
valgrind-suppressions.txt pytest: Use valgrind target suppressions instead of skipping tests 2022-03-10 10:21:41 +10:30