lightning/tests
Rusty Russell c397efee1c pytest: fix pay flake.
We weren't waiting for the channel to get to normal state:

E           pyln.client.lightning.RpcError: RPC call failed: method: pay, payload: {'bolt11': 'lnbcrt20m1pszfpezpp549um3vuyt52rgea32g7u55a5fv29yv7t94cmr2f0vjgcc33m3dvqdqzdgxqyjw5qcqp9sp59vu4tat2n53ylzrgxa95s5wu2s885a9llud64c0f6gjqts7h6tks9qy9qsq7u0j3w2h3sxxp9axpjxkz525znjn0t92gnrgk7y6plyq39zw9994g88xxjx52egk4965dp5qt2w08hk009eq9hm8nykwmxe7r705k8gpkqu9mw'}, error: {'code': 210, 'message': 'Ran out of routes to try after 1 attempt: see `paystatus`', 'attempts': [{'status': 'failed', 'failreason': 'Cannot attempt payment, we have no channel to which we can add an HTLC', 'partid': 1, 'amount': '2000000000msat'}]}

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-02-11 14:33:51 +01:00
..
data hsmd/db: backfill pubkey information so that psbts signing works 2020-07-29 13:13:46 +02:00
fuzz check-includes: allow redundant "config.h" 2021-02-04 12:02:36 +10:30
plugins df-tests: use excess_as_change, test two-sided channels better 2021-02-04 13:25:34 -06: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: silence pytest warnings about unregistered 'slow_test' marker 2020-11-10 16:17:04 -06:00
db.py pytest: Have the DB provider search for the postgres binary 2019-09-22 02:03:43 +00:00
fixtures.py pytest: Really only check DB statements if the env-var is "1" 2021-01-04 11:25:50 +01:00
test_closing.py pytest: Stabilize test_onchain_feechange 2021-02-11 09:48:55 +01:00
test_connection.py pytest: Stabilize funding cancel race by killing in parallel 2021-02-11 09:48:55 +01:00
test_db.py pytest: Rename all fund_channel to fundchannel 2020-09-25 21:04:56 +02:00
test_gossip.py lightningd: addgossip API to inject gossip messages. 2021-02-02 13:44:01 +01:00
test_invoices.py invoice: add ctlv option. 2021-01-08 10:45:56 +01:00
test_misc.py pytest: detect warnings, too. 2021-02-04 12:02:52 +10:30
test_onion.py pytest: Actually make sure that the direcory exists 2020-03-24 09:52:33 +10:30
test_pay.py pytest: fix pay flake. 2021-02-11 14:33:51 +01:00
test_plugin.py pytest: Stabilize test_forward_event_notification 2021-02-11 09:48:55 +01:00
test_wallet.py fund/utxopsbt: flag 'excess_as_change' to add a change output for excess 2021-02-04 13:25:34 -06:00
utils.py lightningd: control onion messages by experimental-onion-messages option. 2021-01-13 14:45:36 +01:00