forked from kubevirt/kubevirt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kubevirt#6329 from zhlhahaha/2264
add initial tests cases for arm64
- Loading branch information
Showing
7 changed files
with
37 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -154,7 +154,7 @@ func (r rights) list() (e []rightsEntry) { | |
return | ||
} | ||
|
||
var _ = Describe("[rfe_id:500][crit:high][vendor:[email protected]][level:component][sig-compute]User Access", func() { | ||
var _ = Describe("[rfe_id:500][crit:high][arm64][vendor:[email protected]][level:component][sig-compute]User Access", func() { | ||
|
||
var k8sClient string | ||
var authClient *authClientV1.AuthorizationV1Client | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -258,7 +258,7 @@ var _ = Describe("[rfe_id:588][crit:medium][vendor:[email protected]][level:comp | |
}) | ||
}) | ||
|
||
Describe("[rfe_id:4052][crit:high][vendor:[email protected]][level:component]VMI disk permissions", func() { | ||
Describe("[rfe_id:4052][crit:high][arm64][vendor:[email protected]][level:component]VMI disk permissions", func() { | ||
Context("with ephemeral registry disk", func() { | ||
It("[test_id:4299]should not have world write permissions", func() { | ||
vmi := tests.NewRandomVMIWithEphemeralDisk(cd.ContainerDiskFor(cd.ContainerDiskAlpine)) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,7 +41,7 @@ import ( | |
"kubevirt.io/kubevirt/tests/libnet" | ||
) | ||
|
||
var _ = SIGDescribe("[crit:high][vendor:[email protected]][level:component]", func() { | ||
var _ = SIGDescribe("[crit:high][arm64][vendor:[email protected]][level:component]", func() { | ||
var err error | ||
var virtClient kubecli.KubevirtClient | ||
var vmi *v1.VirtualMachineInstance | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1092,7 +1092,7 @@ var _ = SIGDescribe("Storage", func() { | |
}) | ||
}) | ||
|
||
Context("[rfe_id:2288][crit:high][vendor:[email protected]][level:component] With not existing PVC", func() { | ||
Context("[rfe_id:2288][crit:high][arm64][vendor:[email protected]][level:component] With not existing PVC", func() { | ||
// Not a candidate for NFS because the PVC in question doesn't actually exist | ||
It("[test_id:1040] should get unschedulable condition", func() { | ||
// Start the VirtualMachineInstance | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -164,7 +164,7 @@ func createCommandWithNSAndRedirect(namespace, cmdName string, args ...string) ( | |
return cmd, stdOut, stdErr, nil | ||
} | ||
|
||
var _ = Describe("[rfe_id:3423][crit:high][vendor:[email protected]][level:component][sig-compute]VmWatch", func() { | ||
var _ = Describe("[rfe_id:3423][crit:high][arm64][vendor:[email protected]][level:component][sig-compute]VmWatch", func() { | ||
var err error | ||
var virtCli kubecli.KubevirtClient | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,7 +79,7 @@ func addNodeAffinityToVMI(vmi *v1.VirtualMachineInstance, nodeName string) { | |
} | ||
} | ||
|
||
var _ = Describe("[rfe_id:273][crit:high][vendor:[email protected]][level:component][sig-compute]VMIlifecycle", func() { | ||
var _ = Describe("[rfe_id:273][crit:high][arm64][vendor:[email protected]][level:component][sig-compute]VMIlifecycle", func() { | ||
|
||
var err error | ||
var virtClient kubecli.KubevirtClient | ||
|
@@ -829,6 +829,8 @@ var _ = Describe("[rfe_id:273][crit:high][vendor:[email protected]][level:compon | |
|
||
//store old kubevirt-config | ||
BeforeEach(func() { | ||
// arm64 does not support cpu model | ||
tests.SkipIfARM64("arm64 does not support cpu model") | ||
kv := util.GetCurrentKv(virtClient) | ||
originalConfig = kv.Spec.Configuration | ||
}) | ||
|
@@ -928,6 +930,8 @@ var _ = Describe("[rfe_id:273][crit:high][vendor:[email protected]][level:compon | |
} | ||
|
||
BeforeEach(func() { | ||
// arm64 does not support cpu model | ||
tests.SkipIfARM64("arm64 does not support cpu model") | ||
nodes := util.GetAllSchedulableNodes(virtClient) | ||
Expect(nodes.Items).ToNot(BeEmpty(), "There should be some compute node") | ||
|
||
|