From 9ae345ac7e645fb33b7e735957de91947bf78669 Mon Sep 17 00:00:00 2001 From: Dusty Daemon Date: Wed, 5 Nov 2025 10:01:12 -0500 Subject: [PATCH] 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 --- tests/test_closing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_closing.py b/tests/test_closing.py index 3a7c31642473..ffadfc642d43 100644 --- a/tests/test_closing.py +++ b/tests/test_closing.py @@ -4061,7 +4061,7 @@ def test_peer_anchor_push(node_factory, bitcoind, executor, chainparams): total_weight = sum([d['weight'] for d in details]) total_fees = sum([float(d['fees']['base']) * 100_000_000 for d in details]) total_feerate_perkw = total_fees / total_weight * 1000 - check_feerate([l3, l2], total_feerate_perkw, feerate) + check_feerate([l3, l2], total_feerate_perkw, feerate + 10) bitcoind.generate_block(1, needfeerate=16000) sync_blockheight(bitcoind, [l2]) assert len(bitcoind.rpc.getrawmempool()) == 2