Increase test timeout on riscv64

Builds fail otherwise because the hardware that's currently
available is not quite fast enough to keep up.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
(cherry picked from commit fe93b3eb93c8a71aec610a8655062ec4d9b1e162)
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
Andrea Bolognani 2024-11-23 18:11:20 +01:00 committed by David Abdurachmanov
parent c23fb767de
commit 399b1b7b95

View File

@ -2134,6 +2134,14 @@ rm -rf %{static_buildroot}
# tests have been flakey in the past
export MTESTARGS="--no-suite block"
# Most architectures can use the default timeouts, but in some cases
# the hardware that's currently available is too slow and we need to
# allow tests to run for a little bit longer
%define timeout_multiplier 1
%ifarch riscv64
%define timeout_multiplier 2
%endif
%if %{with check}
%if !%{tools_only}
@ -2143,7 +2151,7 @@ echo "Testing %{name}-build"
# Last check: 2023-10
# Added: 2022-06
%ifnarch %{power64}
%make_build check
%make_build check TIMEOUT_MULTIPLIER=%{timeout_multiplier}
%endif
popd
@ -3160,6 +3168,7 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
%changelog
* Sat Nov 23 2024 David Abdurachmanov <davidlt@rivosinc.com> - 9.1.2-1.0.riscv64
- Fix riscv files
- Increase test timeout on riscv64
* Thu Nov 21 2024 Cole Robinson <crobinso@redhat.com> - 9.1.2-1
- Update to qemu 9.1.2 stable