From 2faf992f8f36906df4521cb7ca7f7cb79e8849c4 Mon Sep 17 00:00:00 2001 From: "denis.bilenko" Date: Thu, 29 Oct 2026 17:06:50 +0000 Subject: [PATCH] acc: give selftest/timeout a 2s timeout Co-authored-by: Isaac --- acceptance/selftest/timeout/output.txt | 2 +- acceptance/selftest/timeout/test.toml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/acceptance/selftest/timeout/output.txt b/acceptance/selftest/timeout/output.txt index b30a90be33e..edeb4690882 100644 --- a/acceptance/selftest/timeout/output.txt +++ b/acceptance/selftest/timeout/output.txt @@ -1,4 +1,4 @@ >>> sleep 4 -Error: Test script killed due to a timeout (500ms) +Error: Test script killed due to a timeout (2s) diff --git a/acceptance/selftest/timeout/test.toml b/acceptance/selftest/timeout/test.toml index 86623b42b6b..bcae84e4dbf 100644 --- a/acceptance/selftest/timeout/test.toml +++ b/acceptance/selftest/timeout/test.toml @@ -1,5 +1,6 @@ -# Test that timeout mechanism works (script sleeps 4s but should be killed much sooner) -Timeout = '500ms' -TimeoutWindows = '500ms' -TimeoutCloud = '500ms' +# Test that timeout mechanism works (script sleeps 4s but should be killed much sooner). +# 2s rather than less: on a slow Windows runner bash may not reach `trace sleep 4` within 500ms. +Timeout = '2s' +TimeoutWindows = '2s' +TimeoutCloud = '2s' TimeoutCIMultiplier = 1