mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-26 13:07:07 +00:00
Changed to return in the success case testing testContext instead of using
an else statement. #4162
This commit is contained in:
parent
d3e04cd246
commit
70237e9cc6
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user