From c0936c1a99a61bcc503d5250c1cb654d375a47c4 Mon Sep 17 00:00:00 2001
From: Helmut Grohne <helmut@subdivi.de>
Date: Sun, 25 May 2025 20:57:31 +0200
Subject: Attempt to limit test reliability by reducing concurrency

---
 tests/create-and-run.sh | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'tests/create-and-run.sh')

diff --git a/tests/create-and-run.sh b/tests/create-and-run.sh
index fab04bc..d401327 100755
--- a/tests/create-and-run.sh
+++ b/tests/create-and-run.sh
@@ -61,6 +61,9 @@ elif test -n "$MIRROR"; then
 fi
 debvm-create -k "$SSH_KEYPATH.pub" -o "$IMAGE" -r "$RELEASE" "$@"
 
+# Many CPUs tend to cause test timeouts on tcg emulation.
+export OMP_THREAD_LIMIT=4
+
 SSH_PORT=2222
 timeout 600s debvm-run -s "$SSH_PORT" -i "$IMAGE" &
 set -- localhost
-- 
cgit v1.2.3