test: lower the # of iterations with plain QEMU
authorFrantisek Sumsal <frantisek@sumsal.cz>
Thu, 25 Aug 2022 12:25:07 +0000 (14:25 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 26 Aug 2022 13:40:34 +0000 (15:40 +0200)
test/units/testsuite-64.sh

index 61fed6648c916db399a1585d068f9d70f2774b7e..3ae1bddaf45a8f65d271a11145cfab410f4d555e 100755 (executable)
@@ -178,7 +178,7 @@ EOF
     # leading to dead symlinks in /dev/disk/
     iterations=100
     timeout=30
-    if [[ -n "${ASAN_OPTIONS:-}" ]]; then
+    if [[ -n "${ASAN_OPTIONS:-}" ]] || [[ "$(systemd-detect-virt -v)" == "qemu" ]]; then
         iterations=10
         timeout=180
     fi