Skip to content

Commit 400fd5c

Browse files
committed
test_closing: Increase feerate test limit
When running test_closing.py `test_peer_anchor_push` in a loop, it failed on the 43rd time with the error: actual_feerate = 12005.233318796338, expected_feerate = 12000 Increasing the expected feerate fixes this particular flake. Changelog-None
1 parent fc2fb7c commit 400fd5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_closing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4052,7 +4052,7 @@ def test_peer_anchor_push(node_factory, bitcoind, executor, chainparams):
40524052
wait_for(lambda: len(bitcoind.rpc.getrawmempool()) == 2)
40534053

40544054
# As blocks pass, we will use anchor to boost l3's tx.
4055-
for block, feerate in zip(range(120, 124), (12000, 13000, 14000, 15000)):
4055+
for block, feerate in zip(range(120, 124), (12010, 13000, 14000, 15000)):
40564056
l2.daemon.wait_for_log(fr"Worth fee [0-9]*sat for remote commit tx to get 100000000msat at block 125 \(\+{125 - block}\) at feerate {feerate}perkw")
40574057
l2.daemon.wait_for_log("sendrawtx exit 0")
40584058
# Check feerate for entire package (commitment tx + anchor) is ~ correct

0 commit comments

Comments
 (0)