Fix test initialization
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Valentin Brandl 2021-03-29 16:52:31 +02:00
parent 56b973607c
commit 5493af0c0c

View File

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