From 5f3dac82f64a4ae7757499840ec68a876b8d0b5e Mon Sep 17 00:00:00 2001 From: uglrl <134957879+uglrl@users.noreply.github.com> Date: Sun, 20 Aug 2023 15:45:29 +0200 Subject: [PATCH] Changed schedule --- backend/tests/image_review_scheduler.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/tests/image_review_scheduler.rs b/backend/tests/image_review_scheduler.rs index 925421de..107d4431 100644 --- a/backend/tests/image_review_scheduler.rs +++ b/backend/tests/image_review_scheduler.rs @@ -12,6 +12,8 @@ use mensa_app_backend::{ }; use tokio::signal::ctrl_c; +const NEVER: &str = "* * * 31 2 *"; + #[tokio::test] #[ignore = "manual test"] async fn test_image_scheduling() { @@ -23,8 +25,8 @@ async fn test_image_scheduling() { async fn setup() -> Scheduler { let info = ScheduleInfo { - full_parse_schedule: "* * * * 1 *".to_string(), - update_parse_schedule: "* * * * 1 *".to_string(), + full_parse_schedule: NEVER.to_string(), + update_parse_schedule: NEVER.to_string(), image_review_schedule: "0 */5 * * * *".to_string(), }; let reader = ConfigReader::default();