Skip to content

Commit cf6cf36

Browse files
committed
pytest: give test_xpay_maxfee longer, as it can time out under CI.
``` > ret = l1.rpc.xpay(invstring=inv, maxfee=maxfee) tests/test_xpay.py:585: ... > raise RpcError(method, payload, resp['error']) E pyln.client.lightning.RpcError: RPC call failed: method: xpay, payload: {'invstring': 'lnbcrt1m1p5n5wdzsp5qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpp52mu6842a26hs40xxgzscflm4smk5yjctqgf7hhrwhx7dh2492vzsdp22pshj6twvusxummyv5sr2wfqwa5hg6pqd4shsen9v5cqpj9qyyqqqj9kvjvrzy0ygdsfsskjtss0xrkrt7lq8jyrgzvtvdw5y9xqy0v25ddxd787c9ym36udm876lyhevznj8j9qzk0r7x03xm0akvq6ltwcq7vm7tk', 'maxfee': 57966}, error: {'code': 209, 'message': "Failed after 4 attempts. We got temporary_channel_failure for 59x81x28707/1, assuming it can't carry 49498813msat. Then routing for remaining 49498813msat failed: linear_routes: timed out after deadline"} ... lightningd-1 2025-12-11T03:25:41.972Z DEBUG plugin-cln-askrene: notify msg debug: get_routes failed after 15572 ms ``` Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
1 parent 6706897 commit cf6cf36

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_xpay.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,9 @@ def test_xpay_maxfee(node_factory, bitcoind, chainparams):
557557
opts=[{'gossip_store_file': outfile.name,
558558
'subdaemon': 'channeld:../tests/plugins/channeld_fakenet',
559559
'allow_warning': True,
560-
'dev-throttle-gossip': None},
560+
'dev-throttle-gossip': None,
561+
# This can be more than 10 seconds under CI!
562+
'askrene-timeout': 60},
561563
{'allow_bad_gossip': True}])
562564

563565
# l1 needs to know l2's shaseed for the channel so it can make revocations

0 commit comments

Comments
 (0)