core-lightning/tests
Rusty Russell 2e28226e18 pytest: fix timeout in test_channel_lease_unilat_closes
Sometimes syncing 4032 blocks can take too long:

```
        # This can timeout, so do it in easy stages.
        for i in range(16):
            bitcoind.generate_block(4032 // 16)
>       sync_blockheight(bitcoind, [l2, l3])

tests/test_closing.py:996: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
contrib/pyln-testing/pyln/testing/utils.py:135: in sync_blockheight
    wait_for(lambda: n.rpc.getinfo()['blockheight'] == height)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

success = <function sync_blockheight.<locals>.<lambda> at 0x7ffb00227670>
timeout = 180

    def wait_for(success, timeout=TIMEOUT):
        start_time = time.time()
        interval = 0.25
        while not success():
            time_left = start_time + timeout - time.time()
            if time_left <= 0:
>               raise ValueError("Timeout while waiting for {}".format(success))
E               ValueError: Timeout while waiting for <function sync_blockheight.<locals>.<lambda> at 0x7ffb00227670>
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-07-22 08:52:55 +09:30
..
data pytest: add blackbox tests for reckless 2023-04-09 12:41:11 +09:30
fuzz fuzz: initial sha256 seeds 2023-07-10 14:56:50 +09:30
plugins pytest: test for bad estimatefees results. 2023-07-16 12:57:27 +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 pytest: fix timeout in test_channel_lease_unilat_closes 2023-07-22 08:52:55 +09:30
test_connection.py multifundchannel: use excess_as_change flag to simplify logic. 2023-06-29 11:28:47 -04:00
test_db.py wallet: fix up PSBTs as a migration. 2023-03-31 09:16:25 +10:30
test_gossip.py pytest: fix race in test_gossip_not_dying 2023-07-22 08:52:55 +09:30
test_invoices.py pay: don't require description for hashdesc invoices (i.e. undeprecate). 2023-06-22 13:23:21 +09:30
test_misc.py lightningd: fix up log filtering for generic daemons (e.g. connectd). 2023-07-19 19:13:57 +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 pytest: fix test_anchor_min_emergency "bad gossip" messages. 2023-07-22 08:52:55 +09:30
test_pay.py pytest: Remove tests that rely on presplit behavior 2023-07-21 07:13:48 +09:30
test_plugin.py pytest: Remove tests that rely on presplit behavior 2023-07-21 07:13:48 +09:30
test_reckless.py pytest: ignore pip warning 2023-04-24 13:08:15 -07:00
test_runes.py pytest: test for runes, based on commando tests. 2023-07-21 16:44:22 +09:30
test_wallet.py Support p2tr deposit addresses 2023-07-11 11:41:15 +09:30
utils.py Support p2tr deposit addresses 2023-07-11 11:41:15 +09:30
valgrind-suppressions.txt pytest: Use valgrind target suppressions instead of skipping tests 2022-03-10 10:21:41 +10:30