summaryrefslogtreecommitdiff
path: root/tests/create-and-run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/create-and-run.sh')
-rwxr-xr-xtests/create-and-run.sh3
1 files changed, 3 insertions, 0 deletions
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