trying to figure out new github sporadic errors

This commit is contained in:
Igor Katson 2024-09-22 12:15:21 +01:00
parent f7a812439b
commit fb15e070a0
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5

View file

@ -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();