Skip to content

Commit

Permalink
change round start delay
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-maron committed May 17, 2024
1 parent 8cea2f6 commit 52af1ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion crates/hotshot/src/traits/networking/combined_network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ impl<TYPES: NodeType> TestableNetworkingImplementation<TYPES> for CombinedNetwor
// Create the quorum and da networks
let quorum_net = Self {
networks: Arc::new(quorum_networks),

primary_fail_counter: Arc::new(AtomicU64::new(0)),
primary_down: Arc::new(AtomicBool::new(false)),
message_cache: Arc::clone(&message_cache),
Expand Down
5 changes: 4 additions & 1 deletion crates/testing/tests/tests_5/combined_network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,10 @@ async fn test_combined_network_half_dc() {
async_compatibility_layer::logging::setup_backtrace();
let mut metadata: TestDescription = TestDescription {
timing_data: TimingData {
round_start_delay: 25,
// We need a longer round start delay since half of the nodes will move on to the next
// view before some nodes finish processing the previous view. This causes issues before
// the first decide event.
round_start_delay: 100,
next_view_timeout: 10_000,
start_delay: 120_000,

Expand Down

0 comments on commit 52af1ef

Please sign in to comment.