summaryrefslogtreecommitdiff
path: root/tests/create-and-run.sh
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2025-06-04 10:18:40 +0200
committerHelmut Grohne <helmut@subdivi.de>2025-06-04 10:18:40 +0200
commit238b9656a1c9c4d18a21dbc67e1c150c2f1a5191 (patch)
tree24405eb7933016ba5abbe64cf576e925d75214d8 /tests/create-and-run.sh
parent1875e4c6957ecc9a7cc864e5232bd4826811df9f (diff)
downloaddebvm-238b9656a1c9c4d18a21dbc67e1c150c2f1a5191.tar.gz
Force tests to not use smp
According to Michael, a key ingredient to reproducing #1106792 is concurrency. By disabling smp, we skip the problem Closes: #1106397
Diffstat (limited to 'tests/create-and-run.sh')
-rwxr-xr-xtests/create-and-run.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/create-and-run.sh b/tests/create-and-run.sh
index d401327..9788790 100755
--- a/tests/create-and-run.sh
+++ b/tests/create-and-run.sh
@@ -61,8 +61,8 @@ 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
+# Work around qemu #1106792
+export OMP_THREAD_LIMIT=1
SSH_PORT=2222
timeout 600s debvm-run -s "$SSH_PORT" -i "$IMAGE" &