Merge pull request #12408 from smarterclayton/improvements_to_test

e2e test cases should clean up more effectively
This commit is contained in:
Alex Robinson
2015-08-10 18:15:04 -07:00
5 changed files with 77 additions and 15 deletions

View File

@@ -78,7 +78,7 @@ var _ = Describe("Kubectl client", func() {
AfterEach(func() {
By(fmt.Sprintf("Destroying namespace for this suite %v", ns))
if err := c.Namespaces().Delete(ns); err != nil {
if err := deleteNS(c, ns); err != nil {
Failf("Couldn't delete ns %s", err)
}
})
@@ -470,7 +470,7 @@ var _ = Describe("Kubectl client", func() {
}
}
if !found {
Failf("Added annation not found")
Failf("Added annotation not found")
}
})
})