Skip to main content

tailscale/gostress: increase the test timeout

ID
0e55719
date
2026-05-26 11:31:12+00:00
author
Alex Chan <alexc@tailscale.com>
parent
4187396
message
tailscale/gostress: increase the test timeout

In CI we have a 10m timeout for tests. Match that when running stress
locally, or tests can hit timeout flakes that don't occur in CI.
changed files
1 file, 2 additions, 2 deletions

Changed files

tailscale/gostress (444) → tailscale/gostress (444)

diff --git a/tailscale/gostress b/tailscale/gostress
index eb1d357..1018b29 100755
--- a/tailscale/gostress
+++ b/tailscale/gostress
@@ -13,11 +13,11 @@ rm -f stop.txt
 rm -f test.o
 
 set +o errexit
-./tool/go test -race -o test.o "$1" -run=$2 -timeout=60s
+./tool/go test -race -o test.o "$1" -run=$2 -timeout=10m
 set -o errexit
 
 if [[ -f test.o ]]
 then
     echo test.o >> .git/info/exclude
-    stress ./test.o -test.run=$2 -test.timeout=60s -test.v
+    stress ./test.o -test.run=$2 -test.timeout=10m -test.v
 fi