From b7c6e022d4c4fecf2f3090406f58b6103bf1f21d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Fri, 12 Nov 2021 21:05:08 +0100 Subject: [PATCH] Add timeout and verbosity to tests In case any test hangs, ensure it would release builder. Increase verbosity to know more about possible failures. Interactive debugging is not possible on builders. --- strongswan.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/strongswan.spec b/strongswan.spec index 3a8d9e1..7791ce6 100644 --- a/strongswan.spec +++ b/strongswan.spec @@ -300,7 +300,9 @@ install -D -m 0644 %{SOURCE1} %{buildroot}/%{_tmpfilesdir}/strongswan-starter.co %check %if %{with check} - %make_build -j1 check + # Seen some tests hang. Ensure we do not block builder forever + export TESTS_VERBOSITY=1 + timeout 600 %make_build check %endif %if %{with python} pushd src/libcharon/plugins/vici