Skip to content

Commit

Permalink
Changed schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
uglrl committed Aug 20, 2023
1 parent b6993fe commit 5f3dac8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions backend/tests/image_review_scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand All @@ -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();
Expand Down

0 comments on commit 5f3dac8

Please sign in to comment.