v0.1.2-pre.005-fix.001

This commit is contained in:
2026-08-14 20:08:18 +02:00
parent ea87a58e32
commit d96f41fb8e
4 changed files with 95 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
// file: crates/ksp-logging-lib/tests/runtime.rs
// version: 3
// version: 4
//! Integration tests for global initialization, takeover filtering, non-blocking outputs and hot reload.
@@ -69,6 +69,8 @@ fn exercise_concurrent_reload(guard: &mut ksp_logging_lib::LoggingGuard, disable
std::option::Option::Some(ksp_logging_lib::ConsoleSettings::stderr()),
std::option::Option::None,
);
let quiet_reload = ksp_logging_lib::reinitialize(guard, &quiet_console);
assert!(quiet_reload.is_ok());
let stop = std::sync::Arc::new(std::sync::atomic::AtomicBool::new(false));
let barrier = std::sync::Arc::new(std::sync::Barrier::new(5));
let mut threads = std::vec::Vec::new();