From 2a8666c008f1e4fd00b9129bf41f998cff1b3ada Mon Sep 17 00:00:00 2001 From: Katerina Koukiou Date: Fri, 26 Jul 2024 11:16:43 +0200 Subject: [PATCH] testmap: split anaconda tests into expensive and other This introduces two test scenarios for anaconda. --- lib/testmap.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/testmap.py b/lib/testmap.py index 162b9f4401..4b71b63159 100644 --- a/lib/testmap.py +++ b/lib/testmap.py @@ -22,6 +22,7 @@ from lib.constants import TEST_OS_DEFAULT COCKPIT_SCENARIOS = {'networking', 'storage', 'expensive', 'other'} +ANACONDA_SCENARIOS = {'expensive', 'other'} def contexts(image: str, *scenarios: Iterable[str], repo: str | None = None) -> Sequence[str]: @@ -223,7 +224,7 @@ def contexts(image: str, *scenarios: Iterable[str], repo: str | None = None) -> }, 'rhinstaller/anaconda-webui': { 'main': [ - 'fedora-rawhide-boot', + *contexts('fedora-rawhide-boot', ANACONDA_SCENARIOS), ], '_manual': [ 'fedora-eln-boot', @@ -252,11 +253,11 @@ def contexts(image: str, *scenarios: Iterable[str], repo: str | None = None) -> ], # Anaconda builds in fedora-rawhide and runs tests in fedora-rawhide-boot "fedora-rawhide": [ - "fedora-rawhide-boot@rhinstaller/anaconda-webui" + *contexts("fedora-rawhide-boot", ANACONDA_SCENARIOS, repo='rhinstaller/anaconda-webui'), ], # Anaconda payload updates can affect tests "fedora-rawhide-anaconda-payload": [ - "fedora-rawhide-boot@rhinstaller/anaconda-webui" + *contexts("fedora-rawhide-boot", ANACONDA_SCENARIOS, repo='rhinstaller/anaconda-webui'), ], }