Changed to return in the success case testing testContext instead of using
an else statement. #4162
This commit is contained in:
@@ -38,7 +38,9 @@ var _ = Describe("Services", func() {
|
||||
It("should provide DNS for the cluster", func() {
|
||||
if testContext.provider == "vagrant" {
|
||||
By("Skipping test which is broken for vagrant (See https://github.com/GoogleCloudPlatform/kubernetes/issues/3580)")
|
||||
} else {
|
||||
return
|
||||
}
|
||||
|
||||
podClient := c.Pods(api.NamespaceDefault)
|
||||
|
||||
//TODO: Wait for skyDNS
|
||||
@@ -113,7 +115,6 @@ var _ = Describe("Services", func() {
|
||||
podClient.Delete(pod.Name)
|
||||
}()
|
||||
|
||||
|
||||
By("waiting for the pod to start running")
|
||||
waitForPodRunning(c, pod.Name)
|
||||
|
||||
@@ -152,7 +153,6 @@ var _ = Describe("Services", func() {
|
||||
// TODO: probe from the host, too.
|
||||
|
||||
fmt.Printf("DNS probes using %s succeeded\n", pod.Name)
|
||||
}
|
||||
})
|
||||
|
||||
It("should provide RW and RO services", func() {
|
||||
|
Reference in New Issue
Block a user