mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 13:25:43 +01:00
pytest: fix flaky test.
l2 only gives up 100 blocks after it ignores the HTLC, so sometimes this test fails. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
9c838cf953
commit
711133e3c7
@ -1736,6 +1736,7 @@ def test_onchain_their_unilateral_out(node_factory, bitcoind):
|
||||
l2.bitcoin.generate_block(9)
|
||||
l1.wait_for_onchaind_broadcast('OUR_HTLC_TIMEOUT_TO_US',
|
||||
'THEIR_UNILATERAL/OUR_HTLC')
|
||||
l2.daemon.wait_for_log('Ignoring output .*_UNILATERAL/THEIR_HTLC')
|
||||
|
||||
err = q.get(timeout=10)
|
||||
if err:
|
||||
|
Loading…
Reference in New Issue
Block a user