From 8538cca1ff872b2da8b4193a2f0f758f45bd5dfc Mon Sep 17 00:00:00 2001 From: Steven Malis Date: Tue, 7 Jan 2025 15:28:31 -0500 Subject: [PATCH] Increase the vmm test timeouts --- .config/nextest.toml | 2 +- petri/src/vm/start.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/nextest.toml b/.config/nextest.toml index 77a35b203..5fb10368e 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -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. diff --git a/petri/src/vm/start.rs b/petri/src/vm/start.rs index 4f858a219..e4e806c53 100644 --- a/petri/src/vm/start.rs +++ b/petri/src/vm/start.rs @@ -248,7 +248,7 @@ impl PetriVmConfig { ) -> anyhow::Result>> { // 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");