diff --git a/tests/test_ht_import_scheduler.rs b/tests/test_ht_import_scheduler.rs index 3827043b..b9704595 100644 --- a/tests/test_ht_import_scheduler.rs +++ b/tests/test_ht_import_scheduler.rs @@ -152,7 +152,7 @@ async fn run_scheduler( if let Err(e) = remove_file(&run_flag_path) { eprintln!("Removing run file failed: {e}"); } - bail!(format!("No plan result files appeared with {n_seconds_run_max} seconds")) + bail!(format!("Not all plan result files appeared within {n_seconds_run_max} seconds")) }, }; remove_file(&run_flag_path)?; diff --git a/tests/test_scheduler.rs b/tests/test_scheduler.rs index a44e7eb5..f06e589d 100644 --- a/tests/test_scheduler.rs +++ b/tests/test_scheduler.rs @@ -359,7 +359,7 @@ async fn run_scheduler( bail!("Scheduler terminated unexpectedly") }, _ = sleep(Duration::from_secs(n_seconds_run_max)) => { - bail!(format!("No plan result files appeared with {n_seconds_run_max} seconds")) + bail!(format!("Not all plan result files appeared within {n_seconds_run_max} seconds")) }, }; remove_file(&run_flag_path)?;