Skip to content

Commit

Permalink
add more tests to arm64 e2e test suit
Browse files Browse the repository at this point in the history
kubectl_test
operator_test

Change-Id: I3c7cd48979b4ff2270fdf4c4f6bbb0c381812240
Signed-off-by: Howard Zhang <howard.zhang@arm.com>
Jira: ENTOS-2376
  • Loading branch information
zhlhahaha committed Dec 21, 2021
1 parent 44a3b6c commit 2faccc9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/kubectl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"kubevirt.io/kubevirt/tests"
)

var _ = Describe("[sig-compute]oc/kubectl integration", func() {
var _ = Describe("[sig-compute][arm64]oc/kubectl integration", func() {
var (
k8sClient, result string
err error
Expand Down Expand Up @@ -148,6 +148,8 @@ var _ = Describe("[sig-compute]oc/kubectl integration", func() {
var virtClient kubecli.KubevirtClient

BeforeEach(func() {
// TODO: remove this once we have more than one node in the Arm64 cluster
tests.SkipIfARM64("arm64 cluster only have one node, migration not supported")
virtClient, err = kubecli.GetKubevirtClient()
Expect(err).ToNot(HaveOccurred())
})
Expand Down
4 changes: 3 additions & 1 deletion tests/operator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ type vmYamlDefinition struct {
vmSnapshots []vmSnapshotDef
}

var _ = Describe("[Serial][sig-operator]Operator", func() {
var _ = Describe("[Serial][sig-operator][arm64]Operator", func() {
var originalKv *v1.KubeVirt
var originalCDI *cdiv1.CDI
var originalOperatorVersion string
Expand Down Expand Up @@ -1847,6 +1847,8 @@ spec:
})

It("[test_id:3150]should be able to update kubevirt install with custom image tag", func() {
// TODO: Remove this once qemu-kvm for Arm64 support SATA
tests.SkipIfARM64("Currently qemu-kvm for Arm64 does not support SATA, skip this test")
if flags.KubeVirtVersionTagAlt == "" {
Skip("Skip operator custom image tag test because alt tag is not present")
}
Expand Down

0 comments on commit 2faccc9

Please sign in to comment.