From ae56afdde68a641de18e94e0e006dc6646bc9938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Po=C5=82awski?= Date: Mon, 11 Dec 2023 15:55:52 +0100 Subject: [PATCH] Tests: Update unit tests timeout RHEL uses this repo for releases. Part of the procedure is unit testing which takes big amount of time. On some machines default 3h time limit may be not long enough to complete tests. This limit has been changed to 4h now. Resolves: RHEL-1770 --- osbuild.spec | 5 ++++- tests/unit-tests/main.fmf | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/osbuild.spec b/osbuild.spec index f718dde..6f953a8 100644 --- a/osbuild.spec +++ b/osbuild.spec @@ -9,7 +9,7 @@ Version: 100 %global pkgdir %{_prefix}/lib/%{pypi_name} Name: %{pypi_name} -Release: 1%{?dist} +Release: 2%{?dist} License: Apache-2.0 URL: %{forgeurl} @@ -276,6 +276,9 @@ fi %{_libexecdir}/osbuild-depsolve-dnf %changelog +* Mon Dec 10 2023 Paweł Poławski - 100-2 +- Change unit-test timeout from 3h to 4h + * Fri Nov 24 2023 imagebuilder-bot - 100-1 - New upstream release diff --git a/tests/unit-tests/main.fmf b/tests/unit-tests/main.fmf index db420b4..75a701e 100644 --- a/tests/unit-tests/main.fmf +++ b/tests/unit-tests/main.fmf @@ -1,4 +1,4 @@ summary: Run osbuild unit tests from dist-git sources tag: unit-test -duration: 3h +duration: 4h test: ./prep-host-environment.sh; sudo chcon $(matchpathcon -n /usr/bin/osbuild) ./run-unit-tests.sh; ./run-unit-tests.sh