e2e: fix CPU pinning test
The CPU pinning test seems to have a copy-paste error since
after creating the second VMI without CPI pinning, it awaits the
first VMI to run -- but that VMI is already running.
@@ -2568,7 +2568,7 @@ var _ = Describe("[sig-compute]Configurations", func() {
By("Starting a VirtualMachineInstance without dedicated cpus")
_, err = virtClient.VirtualMachineInstance(util.NamespaceTestDefault).Create(Vmi)
Expect(err).ToNot(HaveOccurred())
- node = tests.WaitForSuccessfulVMIStart(cpuVmi).Status.NodeName
+ node = tests.WaitForSuccessfulVMIStart(Vmi).Status.NodeName
Expect(isNodeHasCPUManagerLabel(node)).To(BeTrue())
})
})
