Add a single test to verify connectivity for explicit given pod network
Part 2
Remove enclosing function which was intended to run all tests twice with
different vms.
@@ -147,7 +147,6 @@ var _ = Describe("Networking", func() {
startTCPServer(inboundVMI, testPort)
})
- declareConnectivityCases := func(inboundVMIRef **v1.VirtualMachineInstance, outboundVMIRef **v1.VirtualMachineInstance) {
table.DescribeTable("should be able to reach", func(destination string) {
var cmdCheck, addrShow, addr string
@@ -346,7 +345,6 @@ var _ = Describe("Networking", func() {
Expect(virtClient.CoreV1().Services(inboundVMI.Namespace).Delete(inboundVMI.Spec.Subdomain, &v13.DeleteOptions{})).To(Succeed())
})
})
- }
checkNetworkVendor := func(vmi *v1.VirtualMachineInstance, expectedVendor string, prompt string) {
err := tests.CheckForTextExpecter(vmi, []expect.Batcher{
