From 9d32abed7bc91bfe36be5d8239797be10cf5d601 Mon Sep 17 00:00:00 2001 From: Sanne Raymaekers Date: Thu, 4 Dec 2025 15:10:53 +0100 Subject: [PATCH] tests: increase memory of testing farm host Unit tests are being killed due to being oom. Resolves: RHEL-111405 --- plans/unit-tests.fmf | 3 +++ tests/unit-tests/run-unit-tests.sh | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/plans/unit-tests.fmf b/plans/unit-tests.fmf index 2ed8514..46a4aa0 100644 --- a/plans/unit-tests.fmf +++ b/plans/unit-tests.fmf @@ -6,3 +6,6 @@ discover: filter: tag:unit-test execute: how: tmt +provision: + hardware: + memory: ">= 8 GB" diff --git a/tests/unit-tests/run-unit-tests.sh b/tests/unit-tests/run-unit-tests.sh index 0c0ede1..2f170dc 100755 --- a/tests/unit-tests/run-unit-tests.sh +++ b/tests/unit-tests/run-unit-tests.sh @@ -4,6 +4,10 @@ set -euxo pipefail source /etc/os-release +# Print some information about the machine +df -h +free -h + # Move to the checked out git repo with the test plans # this should be the root of the dist-git repo cd "${TMT_TREE}"