Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Jul 10, 2024
1 parent 7b454df commit 543c601
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nano/core_test/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3775,7 +3775,9 @@ TEST (node, local_block_broadcast)

// Disable active elections to prevent the block from being broadcasted by the election
auto node_config = system.default_config ();
node_config.active_elections.size = 0;
node_config.priority_scheduler.enabled = false;
node_config.hinted_scheduler.enabled = false;
node_config.optimistic_scheduler.enabled = false;
node_config.local_block_broadcaster.rebroadcast_interval = 1s;
auto & node1 = *system.add_node (node_config);
auto & node2 = *system.make_disconnected_node ();
Expand Down

0 comments on commit 543c601

Please sign in to comment.