Skip to content

Commit ccac118

Browse files
committed
test: update testcases for fedora42/fedora43
With fedora-42 release we move our testing to that. It also adds fedora-43 to the disk image tests. This is a bit of an experiment, if its too fragile we need to disable it again. But with a test like this we would have found #868 earlier.
1 parent c6b14f0 commit ccac118

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

test/testcases.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ def __str__(self):
4545

4646
@dataclasses.dataclass
4747
class TestCaseFedora(TestCase):
48-
container_ref: str = "quay.io/fedora/fedora-bootc:40"
48+
container_ref: str = "quay.io/fedora/fedora-bootc:42"
4949
rootfs: str = "btrfs"
5050
use_librepo: bool = True
5151

5252

5353
@dataclasses.dataclass
54-
class TestCaseFedora42(TestCase):
55-
container_ref: str = "quay.io/fedora/fedora-bootc:42"
54+
class TestCaseFedora43(TestCase):
55+
container_ref: str = "quay.io/fedora/fedora-bootc:43"
5656
rootfs: str = "btrfs"
5757
use_librepo: bool = True
5858

@@ -115,7 +115,7 @@ def gen_testcases(what): # pylint: disable=too-many-return-statements
115115
TestCaseFedora(image="qcow2"),
116116
# test with custom disk configs
117117
TestCaseC9S(image="qcow2", disk_config="swap"),
118-
TestCaseFedora(image="raw", disk_config="btrfs"),
118+
TestCaseFedora43(image="raw", disk_config="btrfs"),
119119
TestCaseC9S(image="raw", disk_config="lvm"),
120120
]
121121
if what == "all":
@@ -136,8 +136,7 @@ def gen_testcases(what): # pylint: disable=too-many-return-statements
136136
if what == "target-arch-smoke":
137137
return [
138138
TestCaseC9S(target_arch="arm64"),
139-
# TODO: merge with TestCaseFedora once the arches are build there
140-
TestCaseFedora42(target_arch="ppc64le"),
141-
TestCaseFedora42(target_arch="s390x"),
139+
TestCaseFedora(target_arch="ppc64le"),
140+
TestCaseFedora(target_arch="s390x"),
142141
]
143142
raise ValueError(f"unknown test-case type {what}")

0 commit comments

Comments
 (0)