From a78cfcccae05134af44fed6e154e696befc573e3 Mon Sep 17 00:00:00 2001 From: Javier Cano Cano Date: Wed, 18 Dec 2024 10:45:29 +0100 Subject: [PATCH] chore(test): Add CentOS Stream 10 func test. Adds the required containerdisk infrastructure and a functional test for CentOS Stream 10. Signed-off-by: Javier Cano Cano --- tests/functests/instancetype_test.go | 3 +++ tests/functests/test_suite_test.go | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/tests/functests/instancetype_test.go b/tests/functests/instancetype_test.go index ff84cdbf..ec9cae30 100644 --- a/tests/functests/instancetype_test.go +++ b/tests/functests/instancetype_test.go @@ -181,6 +181,9 @@ var _ = Describe("Common instance types func tests", func() { Entry("[test_id:10745] CentOS Stream 9", centosStream9ContainerDisk, map[string]string{"amd64": "centos.stream9", "arm64": "centos.stream9", "s390x": "centos.stream9"}, []testFn{expectGuestAgentToBeConnected, expectSSHToRunCommandOnLinux("cloud-user")}), + Entry("[test_id:TODO] CentOS Stream 10", centosStream10ContainerDisk, + map[string]string{"amd64": "centos.stream10", "arm64": "centos.stream10", "s390x": "centos.stream10"}, + []testFn{expectGuestAgentToBeConnected, expectSSHToRunCommandOnLinux("cloud-user")}), Entry("[test_id:TODO] RHEL 9", rhel9ContainerDisk, map[string]string{"amd64": "rhel.9", "arm64": "rhel.9.arm64", "s390x": "rhel.9.s390x"}, []testFn{expectGuestAgentToBeConnected, expectSSHToRunCommandOnLinux("cloud-user")}), diff --git a/tests/functests/test_suite_test.go b/tests/functests/test_suite_test.go index 3512be27..34ccf805 100644 --- a/tests/functests/test_suite_test.go +++ b/tests/functests/test_suite_test.go @@ -27,6 +27,7 @@ const ( defaultCentos7ContainerDisk = "quay.io/containerdisks/centos:7-2009" defaultCentosStream8ContainerDisk = "quay.io/containerdisks/centos-stream:8" defaultCentosStream9ContainerDisk = "quay.io/containerdisks/centos-stream:9" + defaultCentosStream10ContainerDisk = "quay.io/containerdisks/centos-stream:10" defaultRHEL9ContainerDisk = "registry:5000/rhel-guest-image:9" defaultRHEL10ContainerDisk = "registry:5000/rhel-guest-image:10" defaultUbuntu1804ContainerDisk = "quay.io/containerdisks/ubuntu:18.04" @@ -55,6 +56,7 @@ var ( centos7ContainerDisk string centosStream8ContainerDisk string centosStream9ContainerDisk string + centosStream10ContainerDisk string rhel9ContainerDisk string rhel10ContainerDisk string ubuntu1804ContainerDisk string @@ -87,6 +89,8 @@ func init() { defaultCentosStream8ContainerDisk, "CentOS Stream 8 container disk used by functional tests") flag.StringVar(¢osStream9ContainerDisk, "centos-stream-9-container-disk", defaultCentosStream9ContainerDisk, "CentOS Stream 9 container disk used by functional tests") + flag.StringVar(¢osStream10ContainerDisk, "centos-stream-10-container-disk", + defaultCentosStream10ContainerDisk, "CentOS Stream 10 container disk used by functional tests") flag.StringVar(&rhel9ContainerDisk, "rhel-9-container-disk", defaultRHEL9ContainerDisk, "RHEL 9 container disk used by functional tests") flag.StringVar(&rhel10ContainerDisk, "rhel-10-container-disk",