Skip to content

Commit

Permalink
Merge pull request #305 from jcanocan/centos10-test
Browse files Browse the repository at this point in the history
chore(test): Add CentOS Stream 10 func test.
  • Loading branch information
kubevirt-bot authored Dec 18, 2024
2 parents ea76463 + a78cfcc commit fa6dd42
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/functests/instancetype_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")}),
Expand Down
4 changes: 4 additions & 0 deletions tests/functests/test_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -55,6 +56,7 @@ var (
centos7ContainerDisk string
centosStream8ContainerDisk string
centosStream9ContainerDisk string
centosStream10ContainerDisk string
rhel9ContainerDisk string
rhel10ContainerDisk string
ubuntu1804ContainerDisk string
Expand Down Expand Up @@ -87,6 +89,8 @@ func init() {
defaultCentosStream8ContainerDisk, "CentOS Stream 8 container disk used by functional tests")
flag.StringVar(&centosStream9ContainerDisk, "centos-stream-9-container-disk",
defaultCentosStream9ContainerDisk, "CentOS Stream 9 container disk used by functional tests")
flag.StringVar(&centosStream10ContainerDisk, "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",
Expand Down

0 comments on commit fa6dd42

Please sign in to comment.