Skip to content

Commit

Permalink
Increase the vmm test timeouts (#623) (#625)
Browse files Browse the repository at this point in the history
The ubuntu + tpm test is bumping right up against our timeouts. Increase
them. If we can bring the test time back down we may revert this in the
future.
  • Loading branch information
smalis-msft authored Jan 7, 2025
1 parent 287adc9 commit 09bb15c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .config/nextest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ filter = 'package(~vmm_tests)'
# Allow VMM tests longer timeouts.
# Important Note: Petri's watchdogs need to know this value too.
# If you change it here then change it there!
slow-timeout = { period = "2m", terminate-after = 2 }
slow-timeout = { period = "3m", terminate-after = 2 }

# Add retries for known flaky tests.
# TODO: Fix these tests and remove the retries.
Expand Down
2 changes: 1 addition & 1 deletion petri/src/vm/start.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ impl PetriVmConfig {
) -> anyhow::Result<Vec<Task<()>>> {
// Our CI environment will kill tests after some time. We want to save
// some information about the VM if it's still running at that point.
const TIMEOUT_DURATION_MINUTES: u64 = 4;
const TIMEOUT_DURATION_MINUTES: u64 = 6;
const TIMER_DURATION: Duration = Duration::from_secs(TIMEOUT_DURATION_MINUTES * 60 - 10);

let inspect_log_path = output_dir.join("timeout_inspect.log");
Expand Down

0 comments on commit 09bb15c

Please sign in to comment.