From 56527ae8d7bf2b4df2bc33f365469a85b41566a2 Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Tue, 5 Mar 2024 02:00:43 -0800 Subject: [PATCH] Bump all e2e test timeouts 3x --- crates/librqbit/src/tests/e2e.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/librqbit/src/tests/e2e.rs b/crates/librqbit/src/tests/e2e.rs index b6b71ab..f7bfd59 100644 --- a/crates/librqbit/src/tests/e2e.rs +++ b/crates/librqbit/src/tests/e2e.rs @@ -120,7 +120,7 @@ async fn test_e2e() { } .instrument(error_span!("server", server = i)), ); - futs.push(timeout(Duration::from_secs(10), rx)); + futs.push(timeout(Duration::from_secs(30), rx)); } let mut peers = Vec::new(); @@ -203,7 +203,7 @@ async fn test_e2e() { } .instrument(error_span!("stats_printer")); - let timeout = timeout(Duration::from_secs(60), handle.wait_until_completed()); + let timeout = timeout(Duration::from_secs(180), handle.wait_until_completed()); tokio::pin!(stats_printer); tokio::pin!(timeout); @@ -244,7 +244,7 @@ async fn test_e2e() { info!("re-added handle"); - timeout(Duration::from_secs(10), async { + timeout(Duration::from_secs(30), async { let mut interval = interval(Duration::from_millis(100)); loop { interval.tick().await;