From 5493af0c0cf4f3c61ebe1ac47a058cbd4bc5db78 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Mon, 29 Mar 2021 16:52:31 +0200 Subject: [PATCH] Fix test initialization --- tests/util/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/util/mod.rs b/tests/util/mod.rs index a28e3a1..2e76ded 100644 --- a/tests/util/mod.rs +++ b/tests/util/mod.rs @@ -7,7 +7,7 @@ use tempfile::{tempdir, TempDir}; lazy_static::lazy_static! { static ref TRACING: () = { 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); }; }