diff options
-rwxr-xr-x | tests/create-and-run.sh | 3 | ||||
-rwxr-xr-x | tests/dist-upgrades.sh | 3 | ||||
-rwxr-xr-x | tests/efi-create-and-run.sh | 3 |
3 files changed, 9 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 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" & 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 |