Skip to content

Commit

Permalink
Increase render test timeout for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
SamRodri committed Jun 12, 2024
1 parent 2be5f7e commit bee1c14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/render-tests/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ fn run_tests(args: Args, view_process: ViewProcess, mut app: HeadlessApp) {
let start = Instant::now();

let task = zng::task::run_catch(async move { test(render_mode, scale_factor).await });
let task = zng::task::with_deadline(task, 10.secs());
let task = zng::task::with_deadline(task, 30.secs());
let result = app.run_task(task).unwrap();

match result {
Expand All @@ -109,7 +109,7 @@ fn run_tests(args: Args, view_process: ViewProcess, mut app: HeadlessApp) {
}
}
Err(_) => {
eprintln!(cstr!("<bold><red>TIMEOUT</>:</> test did not complete in 10s"));
eprintln!(cstr!("<bold><red>TIMEOUT</>:</> test did not complete in 30s"));
FAILED.store(true, Relaxed);
}
}
Expand Down

0 comments on commit bee1c14

Please sign in to comment.