core-lightning/tests
Rusty Russell 3fec96a7b1 tests: fix flake in test_partial_payment_htlc_loss
Make sure we've actually confirmed the HTLC; if it's not confirmed yet
then we won't fast-fail it, and we'll timeout instead:

```
>           l1.rpc.waitsendpay(payment_hash=inv['payment_hash'], timeout=TIMEOUT, partid=1)
E           AssertionError: Pattern 'WIRE_PERMANENT_CHANNEL_FAILURE \\(reply from remote\\)' not found in "RPC call failed: method: waitsendpay, payload: {'payment_hash': 'c186643391469aa8190415496c85b1eb789cb2b756a76d4c9ce21dd34c698d92', 'timeout': 30, 'partid': 1}, error: {'code': 200, 'message': 'Timed out while waiting'}"
```

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-07-07 17:02:21 +09:30
..
data migrations: ignore channels that don't have a peer_id 2020-06-17 14:30:41 +02:00
plugins plugins-test: use pyln.client, not lightning to import Plugin 2020-06-23 14:49:32 +02:00
vectors pytest: Add tests for the sphinx onion generation and processing 2020-03-12 10:25:01 +10:30
benchmark.py py-tests: rename 'announce' to 'wait_for_announce' 2018-12-08 15:15:55 -08:00
conftest.py pytest: Pass result to fixtures and keep directories of failed tests 2018-08-07 00:54:19 +00:00
db.py pytest: Have the DB provider search for the postgres binary 2019-09-22 02:03:43 +00:00
fixtures.py pytest: Configure logging in a fixture to match stdout capturing 2020-03-24 09:52:33 +10:30
test_closing.py wallet: clean up json output creation, part 2. 2020-07-06 19:25:05 +02:00
test_connection.py lightningd/opening_control.c: fundchannel_cancel no longer requires a channel_id argument. 2020-07-02 01:10:59 +00:00
test_db.py migrations: ignore channels that don't have a peer_id 2020-06-17 14:30:41 +02:00
test_gossip.py gossipd: return channel_announcement features for listchannels. 2020-05-07 08:44:58 +09:30
test_invoices.py invoice: ignore dead-end heuristic on explicitly specified channels. 2020-04-14 14:13:26 -05:00
test_misc.py bitcoin: add weight calculation helpers. 2020-07-06 19:25:05 +02:00
test_onion.py pytest: Actually make sure that the direcory exists 2020-03-24 09:52:33 +10:30
test_pay.py tests: fix flake in test_partial_payment_htlc_loss 2020-07-07 17:02:21 +09:30
test_plugin.py bitcoin: add weight calculation helpers. 2020-07-06 19:25:05 +02:00
test_wallet.py bitcoin: add weight calculation helpers. 2020-07-06 19:25:05 +02:00
utils.py bitcoin: add weight calculation helpers. 2020-07-06 19:25:05 +02:00