Fix test initialization
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
56b973607c
commit
5493af0c0c
@ -7,7 +7,7 @@ use tempfile::{tempdir, TempDir};
|
|||||||
lazy_static::lazy_static! {
|
lazy_static::lazy_static! {
|
||||||
static ref TRACING: () = {
|
static ref TRACING: () = {
|
||||||
let filter = if std::env::var("TEST_LOG").is_ok() { "debug" } else { "" };
|
let filter = if std::env::var("TEST_LOG").is_ok() { "debug" } else { "" };
|
||||||
let subscriber = telemetry::get_subscriber("test", filter);
|
let subscriber = telemetry::get_subscriber("test", filter).0;
|
||||||
telemetry::init_subscriber(subscriber);
|
telemetry::init_subscriber(subscriber);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user