tests: Create pod for Windows test

A previous commit (#88471) changed the createTestPod function, but didn't update
the service.go consumer, leading to a pod not being created.
This commit is contained in:
Claudiu Belu 2020-02-23 02:09:14 -08:00
parent 13beb9b3ce
commit fdec0ee121

View File

@ -62,6 +62,7 @@ var _ = SIGDescribe("Services", func() {
//using hybrid_network methods
ginkgo.By("creating Windows testing Pod")
windowsPod := createTestPod(f, windowsBusyBoximage, windowsOS)
windowsPod = f.PodClient().CreateSync(windowsPod)
ginkgo.By(fmt.Sprintf("checking connectivity Pod to curl http://%s:%d", nodeIP, nodePort))
assertConsistentConnectivity(f, windowsPod.ObjectMeta.Name, windowsOS, windowsCheck(fmt.Sprintf("http://%s:%d", nodeIP, nodePort)))