Skip to content

Commit

Permalink
Fix failing TEST (active_transactions, fifo) (#4394)
Browse files Browse the repository at this point in the history
This testcase manually pushes two blocks to the election scheduler.
However the backlog population sometimes also pushes the block to the election scheduler resulting in it being dropped twice.
--> The solution is to disable the backlog population for this testcase
  • Loading branch information
gr0vity-dev authored Jan 26, 2024
1 parent efe41ee commit 7ce38c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nano/core_test/active_transactions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1355,6 +1355,7 @@ TEST (active_transactions, fifo)

nano::node_config config = system.default_config ();
config.active_elections_size = 1;
config.frontiers_confirmation = nano::frontiers_confirmation_mode::disabled;

auto & node = *system.add_node (config);
auto latest_hash = nano::dev::genesis->hash ();
Expand Down

0 comments on commit 7ce38c8

Please sign in to comment.