diff options
author | Helmut Grohne <helmut@subdivi.de> | 2025-05-25 20:57:31 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2025-05-25 21:17:01 +0200 |
commit | c0936c1a99a61bcc503d5250c1cb654d375a47c4 (patch) | |
tree | bcdc370bab612c691cafca1a0031b043f023ea3b /tests/create-and-run.sh | |
parent | ec663d4fe270ac36f167f0e7a576666e174d8842 (diff) | |
download | debvm-c0936c1a99a61bcc503d5250c1cb654d375a47c4.tar.gz |
Attempt to limit test reliability by reducing concurrency
Diffstat (limited to 'tests/create-and-run.sh')
-rwxr-xr-x | tests/create-and-run.sh | 3 |
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 |