From 757e3528dfd22ecdc2a5fd678c1e288f5ed22e99 Mon Sep 17 00:00:00 2001 From: Rob Date: Wed, 13 Dec 2023 11:32:48 -0500 Subject: [PATCH] update tolerances again --- crates/hotshot/src/traits/networking/libp2p_network.rs | 2 +- crates/testing/tests/timeout.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/hotshot/src/traits/networking/libp2p_network.rs b/crates/hotshot/src/traits/networking/libp2p_network.rs index 8f937bc0f3..4c2b0636ee 100644 --- a/crates/hotshot/src/traits/networking/libp2p_network.rs +++ b/crates/hotshot/src/traits/networking/libp2p_network.rs @@ -342,7 +342,7 @@ impl Libp2pNetwork { is_ready: Arc::new(AtomicBool::new(false)), // This is optimal for 10-30 nodes. TODO: parameterize this for both tests and examples // https://github.com/EspressoSystems/HotShot/issues/2088 - dht_timeout: Duration::from_secs(4), + dht_timeout: Duration::from_secs(5), is_bootstrapped: Arc::new(AtomicBool::new(false)), metrics, topic_map, diff --git a/crates/testing/tests/timeout.rs b/crates/testing/tests/timeout.rs index 050365355f..018558c655 100644 --- a/crates/testing/tests/timeout.rs +++ b/crates/testing/tests/timeout.rs @@ -85,7 +85,7 @@ async fn test_timeout_libp2p() { async_compatibility_layer::logging::setup_logging(); async_compatibility_layer::logging::setup_backtrace(); let timing_data = TimingData { - next_view_timeout: 5000, + next_view_timeout: 7000, start_delay: 4000, round_start_delay: 5000, ..Default::default()