trying to figure out new github sporadic errors
This commit is contained in:
parent
f7a812439b
commit
fb15e070a0
1 changed files with 3 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ use tracing::{info, trace};
|
||||||
|
|
||||||
pub fn setup_test_logging() {
|
pub fn setup_test_logging() {
|
||||||
if std::env::var("RUST_LOG").is_err() {
|
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();
|
let _ = tracing_subscriber::fmt::try_init();
|
||||||
}
|
}
|
||||||
|
|
@ -206,7 +206,8 @@ pub async fn wait_until_i_am_the_last_task() {
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
},
|
},
|
||||||
Duration::from_secs(5),
|
// This needs to be higher than the timeout the tasks print "still running"
|
||||||
|
Duration::from_secs(6),
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue