Merge pull request #10197 from mesosphere/ginkgo-skip

Use ginkgo's new Skip()
This commit is contained in:
Robert Bailey
2015-06-26 10:44:34 -07:00
41 changed files with 494 additions and 244 deletions

View File

@@ -103,10 +103,8 @@ var _ = Describe("Networking", func() {
//Now we can proceed with the test.
It("should function for intra-pod communication", func() {
if testContext.Provider == "vagrant" {
By("Skipping test which is broken for vagrant (See https://github.com/GoogleCloudPlatform/kubernetes/issues/3580)")
return
}
// TODO: support DNS on vagrant #3580
SkipIfProviderIs("vagrant")
By(fmt.Sprintf("Creating a service named %q in namespace %q", svcname, f.Namespace.Name))
svc, err := f.Client.Services(f.Namespace.Name).Create(&api.Service{