Commit Graph

6 Commits

Author SHA1 Message Date
Paweł Poławski
ae56afdde6 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
2023-12-12 16:06:32 +01:00
Tomáš Hozza
ae7fbdf33c Increase unit-test duration to 3h
Related: rhbz#2174845
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-06-27 12:35:37 +02:00
Tomáš Hozza
23883bdc57 Fix unit tests in RHEL CI and rebuild RPM
Also clean up the repo from unused patches and files.

Related: rhbz#2174845
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-06-23 14:34:15 +02:00
Tomáš Hozza
544f3d38c8
Test: rework FMF test metadata and test discovery for integration tests
Do not execute test script in the test plan, but use TMT test discovery
instead.

Related: rhbz#2174845

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-05-30 13:03:53 +02:00
Tomáš Hozza
ca40d1fbe2
Test: rework execution of unit-tests
We have been running just a subset of osbuild unit tests and also not as
a root, so some of them would be skipped.

In addition, the downstream patches were never applied on sources which
were used for unit-testing. Thus if any issue with test was just
backported as a patch, this had no effect on the test result.

Rework how tests are executed by using a dedicated script which will
take care of the installation of test dependencies, preparation of
sources including application of downstream patches and execute all unit
tests.

Rework also the FMF test metadata and test discovery.

Related: rhbz#2174845

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-05-30 13:03:53 +02:00
Tomáš Hozza
6bb05396df
Bootstrap CI tests from internal RHEL dist-git branch
Resolves: rhbz#2174845

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-03-30 10:22:11 +02:00