From c6a63405c2fa312bf75724f4e9ef19ee67531798 Mon Sep 17 00:00:00 2001 From: Sally MacFarlane Date: Mon, 9 Mar 2026 13:31:32 +1000 Subject: [PATCH] Fix flaky BundleSelectorPluginTest on slow CI runners Increase poa-block-txs-selection-max-time to 95% for the bundle failure tests so the plugin has ~712ms instead of ~562ms to process transactions. The failure tests are not testing timeout behaviour, so the tighter budget was only causing intermittent PLUGIN_SELECTION_TIMEOUT events on loaded CI machines before the invalid transaction could be reached. Co-Authored-By: Claude Sonnet 4.6 Signed-off-by: Sally MacFarlane --- .../tests/acceptance/plugins/BundleSelectorPluginTest.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/acceptance-tests/tests/src/acceptanceTest/java/org/hyperledger/besu/tests/acceptance/plugins/BundleSelectorPluginTest.java b/acceptance-tests/tests/src/acceptanceTest/java/org/hyperledger/besu/tests/acceptance/plugins/BundleSelectorPluginTest.java index 300d3adbbcf..503aad107a5 100644 --- a/acceptance-tests/tests/src/acceptanceTest/java/org/hyperledger/besu/tests/acceptance/plugins/BundleSelectorPluginTest.java +++ b/acceptance-tests/tests/src/acceptanceTest/java/org/hyperledger/besu/tests/acceptance/plugins/BundleSelectorPluginTest.java @@ -76,7 +76,8 @@ public void bundleIsNotMinedLastTxFails() throws IOException { "--plugin-bundle-test-enabled=true", "--plugin-bundle-size=2", "--plugin-bundle-failing-nonce=1", - "--plugin-block-txs-selection-max-time=75")); + "--plugin-block-txs-selection-max-time=75", + "--poa-block-txs-selection-max-time=95")); cluster.start(node); // since the last tx of the bundle fails, the first was initially selected, but eventually not @@ -95,7 +96,8 @@ public void bundleIsNotMinedMiddleTxFails() throws IOException { "--plugin-bundle-test-enabled=true", "--plugin-bundle-size=3", "--plugin-bundle-failing-nonce=1", - "--plugin-block-txs-selection-max-time=75")); + "--plugin-block-txs-selection-max-time=75", + "--poa-block-txs-selection-max-time=95")); cluster.start(node); // since the last tx of the bundle fails, the first was initially selected, but eventually not