From 16a30028f73a72b3854228bd13a6c821158a5f9a Mon Sep 17 00:00:00 2001 From: Leon Wilzer <leon.wilzer@protonmail.com> Date: Thu, 9 May 2024 20:22:24 +0200 Subject: [PATCH] hide test output to fix drone ci --- logging/src/test.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/logging/src/test.rs b/logging/src/test.rs index 08f8787..8293a72 100644 --- a/logging/src/test.rs +++ b/logging/src/test.rs @@ -191,6 +191,8 @@ fn log_macro_shared_config() { .expect("Could not acquire write lock on config!"); take(&mut *config); config.set_path(PathBuf::from(log_path)); + config.set_stdout(false); + config.set_stderr(false); drop(config); create_dir_all(PathBuf::from(LOG_DIR.as_str())) @@ -216,6 +218,8 @@ fn log_concurrently_any_order() { take(&mut *config); let mut messages = Vec::with_capacity(CONCURRENT_MESSAGE_COUNT); config.set_path(PathBuf::from(log_path)); + config.set_stdout(false); + config.set_stderr(false); drop(config); for i in 0..CONCURRENT_MESSAGE_COUNT { @@ -261,6 +265,8 @@ fn log_concurrently_correct_order() { take(&mut *config); let mut messages = Vec::with_capacity(CONCURRENT_MESSAGE_COUNT); config.set_path(PathBuf::from(log_path)); + config.set_stdout(false); + config.set_stderr(false); drop(config); for i in 0..CONCURRENT_MESSAGE_COUNT {