From be28e2bdd61508ce7cb78c3fc62ddc339a2d21d5 Mon Sep 17 00:00:00 2001 From: Colin LeMahieu Date: Tue, 18 Jun 2024 12:11:10 +0100 Subject: [PATCH] Fix intermittent failure in request_aggregator.two test where the stat counters would be a multiple of what's expected, indicating multiple requests were received. --- nano/core_test/request_aggregator.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/nano/core_test/request_aggregator.cpp b/nano/core_test/request_aggregator.cpp index 9ca767cb3a..f88da343a6 100644 --- a/nano/core_test/request_aggregator.cpp +++ b/nano/core_test/request_aggregator.cpp @@ -137,6 +137,7 @@ TEST (request_aggregator, two) nano::test::system system; nano::node_config node_config = system.default_config (); node_config.frontiers_confirmation = nano::frontiers_confirmation_mode::disabled; + node_config.active_elections.size = 0; auto & node (*system.add_node (node_config)); system.wallet (0)->insert_adhoc (nano::dev::genesis_key.prv); nano::keypair key1;