Skip to content

Commit 5b1401d

Browse files
committed
test_closing: Increase feerate test limit
When locally 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 prevents this particular flake from occuring on CI. Changelog-None
1 parent fc2fb7c commit 5b1401d

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
@@ -4061,7 +4061,7 @@ def test_peer_anchor_push(node_factory, bitcoind, executor, chainparams):
40614061
total_weight = sum([d['weight'] for d in details])
40624062
total_fees = sum([float(d['fees']['base']) * 100_000_000 for d in details])
40634063
total_feerate_perkw = total_fees / total_weight * 1000
4064-
check_feerate([l3, l2], total_feerate_perkw, feerate)
4064+
check_feerate([l3, l2], total_feerate_perkw, feerate + 10)
40654065
bitcoind.generate_block(1, needfeerate=16000)
40664066
sync_blockheight(bitcoind, [l2])
40674067
assert len(bitcoind.rpc.getrawmempool()) == 2

0 commit comments

Comments
 (0)