Skip to content

Commit

Permalink
Increase test timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Arjo Chakravarty <[email protected]>
  • Loading branch information
arjo129 committed May 9, 2024
1 parent 9485d65 commit a7144f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- run: rustup component add rustfmt
- run: cargo build --verbose
- run: cargo test --verbose
- run: cargo fmt --check
- run: cargo test --verbose


2 changes: 1 addition & 1 deletion src/database/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ fn test_sat_flexible_time_model() {
let safe_spots = vec!["1".to_string(), "2".to_string()];

// 400 milliseconds is enough for the solver hopefully
std::thread::sleep(std::time::Duration::from_millis(1000));
std::thread::sleep(std::time::Duration::from_millis(5000));

let res1 = flexible_ressys.claim_request(ticket2, &safe_spots).unwrap();
let res2 = flexible_ressys.claim_request(ticket1, &safe_spots).unwrap();
Expand Down

0 comments on commit a7144f1

Please sign in to comment.