Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
V-FEXrt committed Jul 31, 2024
1 parent 7635ffd commit c5ba31d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rust/rsc/src/bin/rsc/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,10 @@ mod tests {
ttl: 100,
chunk_size: 100,
}),
job_size_calculate: config::RSCCronLoopConfig {
tick_rate: 10,
chunk_size: 100,
},
}
}

Expand Down Expand Up @@ -820,6 +824,7 @@ mod tests {
i_bytes: Set(100000),
o_bytes: Set(1000),
label: Set("".to_string()),
size: NotSet,
};

insert_job.save(conn.clone().as_ref()).await.unwrap();
Expand All @@ -844,6 +849,7 @@ mod tests {
i_bytes: Set(100000),
o_bytes: Set(1000),
label: Set("".to_string()),
size: NotSet,
};

insert_job.save(conn.clone().as_ref()).await.unwrap();
Expand Down

0 comments on commit c5ba31d

Please sign in to comment.