summaryrefslogtreecommitdiff
path: root/tests/efi-create-and-run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/efi-create-and-run.sh')
-rwxr-xr-xtests/efi-create-and-run.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/efi-create-and-run.sh b/tests/efi-create-and-run.sh
index 2b70662..ed6b64e 100755
--- a/tests/efi-create-and-run.sh
+++ b/tests/efi-create-and-run.sh
@@ -36,6 +36,9 @@ if test -z "$RELEASE"; then
fi
debefivm-create -k "$SSH_KEYPATH.pub" -o "$IMAGE" -r "$RELEASE" -a "$ARCHITECTURE" "$@"
+# Many CPUs tend to cause test timeouts on tcg emulation.
+export OMP_THREAD_LIMIT=4
+
SSH_PORT=2222
timeout 600s debefivm-run -s "$SSH_PORT" -i "$IMAGE" &
set -- localhost