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#10945 from dankenigsberg/less-utils-NewRa…
…ndomFedoraVMIWithEphemeralDiskHighMemory tests/utils: replace a long-named function with libvmi.NewFedora
- Loading branch information
Showing
2 changed files
with
5 additions
and
21 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
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 |
---|---|---|
|
@@ -2939,7 +2939,7 @@ var _ = Describe("[sig-compute]Configurations", decorators.SigCompute, func() { | |
Context("[rfe_id:2926][crit:medium][vendor:[email protected]][level:component]Check Chassis value", func() { | ||
|
||
It("[Serial][test_id:2927]Test Chassis value in a newly created VM", Serial, func() { | ||
vmi := tests.NewRandomFedoraVMIWithEphemeralDiskHighMemory() | ||
vmi := libvmi.NewFedora() | ||
vmi.Spec.Domain.Chassis = &v1.Chassis{ | ||
Asset: "Test-123", | ||
} | ||
|
@@ -2971,7 +2971,7 @@ var _ = Describe("[sig-compute]Configurations", decorators.SigCompute, func() { | |
var vmi *v1.VirtualMachineInstance | ||
|
||
BeforeEach(func() { | ||
vmi = tests.NewRandomFedoraVMIWithEphemeralDiskHighMemory() | ||
vmi = libvmi.NewFedora() | ||
}) | ||
|
||
It("[test_id:2751]test default SMBios", func() { | ||
|
@@ -3053,7 +3053,7 @@ var _ = Describe("[sig-compute]Configurations", decorators.SigCompute, func() { | |
var DiskBusIDE v1.DiskBus = "ide" | ||
|
||
BeforeEach(func() { | ||
vmi = tests.NewRandomFedoraVMIWithEphemeralDiskHighMemory() | ||
vmi = libvmi.NewFedora() | ||
}) | ||
|
||
DescribeTable("For various bus types", func(bus v1.DiskBus, errMsg string) { | ||
|
@@ -3164,7 +3164,7 @@ var _ = Describe("[sig-compute]Configurations", decorators.SigCompute, func() { | |
BeforeEach(func() { | ||
checks.SkipIfRunningOnKindInfra("Skip KVM MSR prescence test on kind") | ||
|
||
vmi = tests.NewRandomFedoraVMIWithEphemeralDiskHighMemory() | ||
vmi = libvmi.NewFedora() | ||
}) | ||
|
||
It("[test_id:5271]test cpuid hidden", func() { | ||
|