summaryrefslogtreecommitdiff
path: root/tests/dist-upgrades.sh
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2025-05-25 20:57:31 +0200
committerHelmut Grohne <helmut@subdivi.de>2025-05-25 21:17:01 +0200
commitc0936c1a99a61bcc503d5250c1cb654d375a47c4 (patch)
treebcdc370bab612c691cafca1a0031b043f023ea3b /tests/dist-upgrades.sh
parentec663d4fe270ac36f167f0e7a576666e174d8842 (diff)
downloaddebvm-c0936c1a99a61bcc503d5250c1cb654d375a47c4.tar.gz
Attempt to limit test reliability by reducing concurrency
Diffstat (limited to 'tests/dist-upgrades.sh')
-rwxr-xr-xtests/dist-upgrades.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/dist-upgrades.sh b/tests/dist-upgrades.sh
index 171500a..c05c9d6 100755
--- a/tests/dist-upgrades.sh
+++ b/tests/dist-upgrades.sh
@@ -43,6 +43,9 @@ ssh-keygen -f "$SSH_KEYPATH" -N ''
debvm-create --sshkey="$SSH_KEYPATH.pub" -r jessie --size=3G -- --customize-hook="copy-in upgrade /usr/local/bin" http://archive.debian.org/debian
+# Many CPUs tend to cause test timeouts on tcg emulation.
+export OMP_THREAD_LIMIT=4
+
SSH_PORT=2222
for RELEASE in stretch buster bullseye bookworm trixie sid; do
timeout 15m debvm-run -s "$SSH_PORT" &