Skip to content

Commit

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

0 comments on commit b6993fe

Please sign in to comment.