diff --git a/integration_tests/tests/cucumber.rs b/integration_tests/tests/cucumber.rs index 800402a270..4f62ef568a 100644 --- a/integration_tests/tests/cucumber.rs +++ b/integration_tests/tests/cucumber.rs @@ -48,7 +48,7 @@ fn try_flush_stdout(buffer: &Arc>>) { info!( target: LOG_TARGET_STDOUT, "{}", - str::from_utf8(mutex).unwrap() + str::from_utf8(mutex).unwrap_or("") ); mutex.clear(); } @@ -126,11 +126,11 @@ fn main() { let crate_root = PathBuf::from(env!("CARGO_MANIFEST_DIR")); let log_dir = crate_root.join("log"); let test_run_dir = crate_root.join(format!("tests/temp/cucumber_{}/logs", process::id())); - fs::create_dir_all(&test_run_dir).unwrap(); - - for entry in fs::read_dir(log_dir).unwrap() { - let file = entry.unwrap(); - fs::copy(file.path(), test_run_dir.join(file.file_name())).unwrap(); - fs::remove_file(file.path()).unwrap(); - } + // fs::create_dir_all(&test_run_dir).unwrap(); + // + // for entry in fs::read_dir(log_dir).unwrap() { + // let file = entry.unwrap(); + // fs::copy(file.path(), test_run_dir.join(file.file_name())).unwrap(); + // fs::remove_file(file.path()).unwrap(); + // } }