From b6993fed5cfb7a4922e0e7242d9a4abda12c42ae Mon Sep 17 00:00:00 2001 From: uglrl <134957879+uglrl@users.noreply.github.com> Date: Sun, 20 Aug 2023 15:40:45 +0200 Subject: [PATCH] Fixed error in schedule and ignored test --- backend/tests/image_review_scheduler.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/tests/image_review_scheduler.rs b/backend/tests/image_review_scheduler.rs index 8da8909a..925421de 100644 --- a/backend/tests/image_review_scheduler.rs +++ b/backend/tests/image_review_scheduler.rs @@ -13,6 +13,7 @@ use mensa_app_backend::{ use tokio::signal::ctrl_c; #[tokio::test] +#[ignore = "manual test"] async fn test_image_scheduling() { let mut scheduler = setup().await; scheduler.start().await; @@ -22,8 +23,8 @@ async fn test_image_scheduling() { async fn setup() -> Scheduler { let info = ScheduleInfo { - full_parse_schedule: "* * * * * 0".to_string(), - update_parse_schedule: "* * * * * 0".to_string(), + full_parse_schedule: "* * * * 1 *".to_string(), + update_parse_schedule: "* * * * 1 *".to_string(), image_review_schedule: "0 */5 * * * *".to_string(), }; let reader = ConfigReader::default();