core-lightning/tests
Rusty Russell 1dc281c111 pytest: test for pay adjacent routehint crash.
When route returns a result which is too expensive, we try to figure out which
hop is most expensive to exclude it for next time.

If it's a single-hop route, we don't count it, since the first hop is free.
That's not usually a problem, since single-hop routes can't exceed our limits
(they're always "free"!).

But if we are using a routehint, the total cost could exceed our limits,
even if the start of the routehint is a single hop away.

This reproduces that test case.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-04-14 14:13:26 -05:00
..
data pytest: test db upgrade. 2019-09-06 14:19:14 +02:00
plugins plugin: Ensure RPC passthrough calls are terminated when plugin dies 2020-04-14 11:07:55 +09:30
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 closingd: configurable closing fee negotiation step 2020-04-07 13:52:48 +09:30
test_connection.py channeld: defer first update_fee until we have an HTLC to send. 2020-04-13 20:58:06 -05:00
test_db.py pytest: Fix optimistic locking in valgrind - developer config 2020-01-13 08:55:32 +08:00
test_gossip.py connectd: permit multiple descriptors of the same type. 2020-03-31 13:36:02 +02:00
test_invoices.py invoice: ignore dead-end heuristic on explicitly specified channels. 2020-04-14 14:13:26 -05:00
test_misc.py pytest: skip some test when DEPRECATED_APIS is enabled. 2020-04-05 11:06:27 +09:30
test_onion.py pytest: Actually make sure that the direcory exists 2020-03-24 09:52:33 +10:30
test_pay.py pytest: test for pay adjacent routehint crash. 2020-04-14 14:13:26 -05:00
test_plugin.py plugin: Ensure RPC passthrough calls are terminated when plugin dies 2020-04-14 11:07:55 +09:30
test_wallet.py wallet: allow to withdraw with unconfirmed utxos 2020-04-01 22:58:18 -05:00
utils.py pytest: skip some test when DEPRECATED_APIS is enabled. 2020-04-05 11:06:27 +09:30