Remove BeforeAll in config test
@@ -42,10 +42,8 @@ import (
var _ = Describe("[Serial][rfe_id:899][crit:medium][vendor:cnv-qe@redhat.com][level:component][sig-compute]Config", func() {
var virtClient kubecli.KubevirtClient
- var CheckIsoVolumeSizes func(vmi *v1.VirtualMachineInstance)
- tests.BeforeAll(func() {
- CheckIsoVolumeSizes = func(vmi *v1.VirtualMachineInstance) {
+ var CheckIsoVolumeSizes = func(vmi *v1.VirtualMachineInstance) {
pod := tests.GetRunningPodByVirtualMachineInstance(vmi, vmi.Namespace)
for _, volume := range vmi.Spec.Volumes {
@@ -68,7 +66,6 @@ var _ = Describe("[Serial][rfe_id:899][crit:medium][vendor:cnv-qe@redhat.com][le
}
}
}
- })
BeforeEach(func() {
var err error
