mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
pytest: fix flaky assert in test_htlc_send_timeout.
If feerates change, L2 sends L3 a commit for that, which causes us to fail the assert (which says we won't send a commitment_signed). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -792,7 +792,8 @@ def test_htlc_send_timeout(node_factory, bitcoind):
|
||||
feerates=(7500, 7500, 7500))
|
||||
# Blackhole it after it sends HTLC_ADD to l3.
|
||||
l2 = node_factory.get_node(disconnect=['0WIRE_UPDATE_ADD_HTLC'],
|
||||
options={'log-level': 'io'})
|
||||
options={'log-level': 'io'},
|
||||
feerates=(7500, 7500, 7500))
|
||||
l3 = node_factory.get_node()
|
||||
|
||||
l1.rpc.connect(l2.info['id'], 'localhost', l2.port)
|
||||
|
||||
Reference in New Issue
Block a user