LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
Batch 37: the contact-sheet export and batch-merge tests wait longer on a busy machine (they pass alone, timed out under the full test run)
Brandon Thomase5cc449bd148
diff --git a/crates/ui-egui/src/export_task.rs b/crates/ui-egui/src/export_task.rsindex d1a1acebc..7ac6a838a 100644--- a/crates/ui-egui/src/export_task.rs+++ b/crates/ui-egui/src/export_task.rs@@ -341,7 +341,7 @@ mod contact_sheet_tests {crate::pick::poll(&mut app, &ctx);assert!(app.pending_picks.is_empty());assert!(app.export.is_some(), "picker did not start export: {:?}", app.ui.toast);- let deadline = Instant::now() + Duration::from_secs(20);+ let deadline = Instant::now() + Duration::from_secs(90);loop {// Poll the real worker without starting unrelated gallery renders each frame.poll(&mut app, &ctx);diff --git a/crates/ui-egui/src/tests_activity.rs b/crates/ui-egui/src/tests_activity.rsindex 493998fd3..126b3ef58 100644--- a/crates/ui-egui/src/tests_activity.rs+++ b/crates/ui-egui/src/tests_activity.rs@@ -9,7 +9,8 @@ use crate::headless::Headless;use crate::panels::activity::{WIDTH, count_text};use crate::{LightcraftApp, Services};-const T: Duration = Duration::from_secs(20);+// generous: merges and renders run on worker threads that a busy machine (a full workspace test run) slows a lot+const T: Duration = Duration::from_secs(60);fn demo() -> Headless {let app = LightcraftApp::new(lightcraft_engine::Session::with_demo(), Services { png: None, ..Default::default() });