Moved a bunch of slirp plug test cases into its own Context
@@ -264,6 +264,7 @@ var _ = Describe("Pod Network", func() {
Expect(idx).To(Equal(2))
})
})
+ Context("Slirp Plug", func() {
It("Should create an interface in the qemu command line and remove it from the interfaces", func() {
domain := NewDomainWithSlirpInterface()
vmi := newVMISlirpInterface("testnamespace", "testVmName")
@@ -302,6 +303,7 @@ var _ = Describe("Pod Network", func() {
})
})
})
+})
func newVMI(namespace, name string) *v1.VirtualMachineInstance {
vmi := &v1.VirtualMachineInstance{
