test/main: no more fedora-40

Fedora 40 was removed from `images` as it is EOL, we can no longer use
it in our test cases. Bump to Fedora 42.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
This commit is contained in:
Simon de Vlieger 2025-05-28 07:48:36 +02:00 committed by Achilleas Koutsou
parent 92095eac06
commit 89ce20101b

View file

@ -250,7 +250,7 @@ func TestManifestIntegrationOstreeSmoke(t *testing.T) {
"manifest",
"iot-raw-image",
"--arch=x86_64",
"--distro=fedora-40",
"--distro=fedora-42",
"--ostree-url=" + strings.SplitN(string(body), "\n", 2)[0],
"--ostree-ref=fedora/stable/x86_64/iot",
})
@ -282,7 +282,7 @@ func TestManifestIntegrationOstreeSmokeErrors(t *testing.T) {
baseArgs := []string{
"manifest",
"--arch=x86_64",
"--distro=fedora-40",
"--distro=fedora-42",
}
for _, tc := range []struct {