hide test output to fix drone ci

This commit is contained in:
Leon Wilzer 2024-05-09 20:22:24 +02:00
parent c2bade653a
commit 16a30028f7
Signed by: leon
GPG Key ID: 02C1E8FC4D87721C

@ -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 {