fix events test
This commit is contained in:
1 parent
b090f662f4
commit
70687748d3
2 files changed
+49
-8
No files matched your search
@@ -16,7 +16,7 @@ pub(crate) fn check_app_exits(app: Component) {
|
||||
let should_panic = std::sync::Arc::new(std::sync::atomic::AtomicBool::new(true));
|
||||
let should_panic_clone = should_panic.clone();
|
||||
std::thread::spawn(move || {
|
||||
std::thread::sleep(std::time::Duration::from_secs(10));
|
||||
std::thread::sleep(std::time::Duration::from_secs(100));
|
||||
if should_panic_clone.load(std::sync::atomic::Ordering::SeqCst) {
|
||||
std::process::exit(exitcode::SOFTWARE);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user