From 3076a7a40c2c8c2662be895033111c9d1b5746e9 Mon Sep 17 00:00:00 2001 From: libhe Date: Thu, 26 Sep 2024 10:17:00 +0800 Subject: [PATCH] Increase default memory for openshift.yaml to avoid kdump service fail. --- os_tests/cfg/openshift.yaml | 2 +- os_tests/tests/test_rhel_guest_image.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/os_tests/cfg/openshift.yaml b/os_tests/cfg/openshift.yaml index 92b0bba6..4e48ef3f 100644 --- a/os_tests/cfg/openshift.yaml +++ b/os_tests/cfg/openshift.yaml @@ -13,6 +13,6 @@ VM: Flavor: name: small cpu: 1 - memory: 1 + memory: 1.5 size: 10G virt: kvm diff --git a/os_tests/tests/test_rhel_guest_image.py b/os_tests/tests/test_rhel_guest_image.py index 8b69b82b..f1d41caf 100644 --- a/os_tests/tests/test_rhel_guest_image.py +++ b/os_tests/tests/test_rhel_guest_image.py @@ -96,6 +96,8 @@ def test_check_partitions(self): product_id = utils_lib.get_product_id(self) if float(product_id) >= 10.0: expected_partitions = 4 + if utils_lib.is_arch(self, arch='aarch64') or utils_lib.is_arch(self, arch='ppc64le'): + expected_partitions = 3 elif float(product_id) >= 9.0: expected_partitions = 5 if utils_lib.is_arch(self, arch='s390x'):