core-lightning/tests
Rusty Russell 8be888e63f pytest: fix renepay test_shadow flake.
Sometimes we don't shadow because it would break our budget:

```
    def test_shadow(node_factory):
        '''Make sure we shadow correctly.'''
        l1, l2, l3 = node_factory.line_graph(3,
                                             wait_for_announce=True,
                                             opts=[{},
                                                   {'fee-base': 2000, 'fee-per-satoshi': 20, 'cltv-delta': 20},
                                                   {'fee-base': 3000, 'fee-per-satoshi': 30, 'cltv-delta': 30}])
    
        # Shadow doesn't always happen (50% chance)!
        for i in range(20):
            inv = l2.rpc.invoice(123000, f'test_renepay{i}', 'description')['bolt11']
            details = l1.rpc.call('renepay', {'invstring': inv})
            assert details['status'] == 'complete'
            assert details['amount_msat'] == Millisatoshi(123000)
            assert details['destination'] == l2.info['id']
    
>           line = l1.daemon.wait_for_log("No MPP, so added .*msat shadow fee")

tests/test_renepay.py:51:
```

```
lightningd-1 2023-09-12T05:08:39.699Z UNUSUAL plugin-cln-renepay: No shadow fee for flow 0/1: fee would add 5005msat to 123000msat, exceeding budget 128000msat.
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-09-19 10:20:24 +09:30
..
data db: migrate old runes table to fix up id fields. 2023-08-31 05:33:15 +09:30
fuzz fuzz: initial wire message seeds 2023-09-18 13:58:45 +09:30
plugins pytest: test (failing) for not crashing if plugin fails to exec via plugin startdir 2023-08-18 13:18:49 +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 test-db-provider: if postgres in tests, startup a bookkeeper db 2022-07-28 12:08:18 +09:30
fixtures.py pyln.testing: remove Throttler. 2023-04-06 09:10:53 +09:30
rkls_github_canned_server.py pytest: add blackbox tests for reckless 2023-04-09 12:41:11 +09:30
test_bookkeeper.py Support p2tr deposit addresses 2023-07-11 11:41:15 +09:30
test_cln_rs.py pyln: Create a dedicated pyln-grpc-proto package 2023-07-10 13:47:38 +09:30
test_closing.py closingd: fix case where we we can pass under min-relay-fee for mutual close. 2023-08-12 13:17:46 +09:30
test_connection.py channeld: Code to implement splicing 2023-07-31 21:00:22 +09:30
test_db.py wallet: fix up PSBTs as a migration. 2023-03-31 09:16:25 +10:30
test_gossip.py gossipd: load pending spam node announcements without forgetting previous node announcements 2023-08-12 09:29:16 +09:30
test_invoices.py lightningd: fix crash on startup expirations. 2023-07-31 20:42:31 +09:30
test_misc.py pytest: add no argument cli test 2023-08-16 12:25:25 +09: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 wallet: Exclude uneconomical UTXOs from fundchannel 2023-09-13 14:34:59 +09:30
test_pay.py pay: don't discard high-htlc_min channels when searching for routehint starts. 2023-08-18 14:55:32 +09:30
test_plugin.py pytest: fix plugin_connected_hook_chaining flake. 2023-08-21 21:14:01 +09:30
test_reckless.py pytest: add reckless local install test 2023-07-27 06:53:49 +09:30
test_renepay.py pytest: fix renepay test_shadow flake. 2023-09-19 10:20:24 +09:30
test_runes.py runes: ensure that uniqueid is a valid number. 2023-09-12 15:19:02 +09:30
test_splicing.py splice: prevent splice going to onchaind & race prevention 2023-08-16 12:28:53 +09:30
test_wallet.py Support p2tr deposit addresses 2023-07-11 11:41:15 +09:30
utils.py splice: Move splice to experimental feature bit 2023-08-10 15:52:53 +09:30
valgrind-suppressions.txt pytest: Use valgrind target suppressions instead of skipping tests 2022-03-10 10:21:41 +10:30