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:
Rusty Russell
2018-08-23 08:58:25 +09:30
parent 175db926c2
commit 7925469f88

View File

@@ -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)