From fb15e070a0815dc564a1b0066c4129e64809b3ff Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Sun, 22 Sep 2024 12:15:21 +0100 Subject: [PATCH] trying to figure out new github sporadic errors --- crates/librqbit/src/tests/test_util.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/librqbit/src/tests/test_util.rs b/crates/librqbit/src/tests/test_util.rs index 2dc1436..7f426b5 100644 --- a/crates/librqbit/src/tests/test_util.rs +++ b/crates/librqbit/src/tests/test_util.rs @@ -14,7 +14,7 @@ use tracing::{info, trace}; pub fn setup_test_logging() { if std::env::var("RUST_LOG").is_err() { - std::env::set_var("RUST_LOG", "debug"); + std::env::set_var("RUST_LOG", "debug,librqbit_core=trace"); } let _ = tracing_subscriber::fmt::try_init(); } @@ -206,7 +206,8 @@ pub async fn wait_until_i_am_the_last_task() { } Ok(()) }, - Duration::from_secs(5), + // This needs to be higher than the timeout the tasks print "still running" + Duration::from_secs(6), ) .await .unwrap();