Deleting a namespace is insufficient to cleanup in e2e

Graceful deletion requires more time to terminate namespaces, and not
waiting for namespaces to delete causes scheduling errors
This commit is contained in:
Clayton Coleman
2015-08-18 17:13:13 -04:00
parent 5000252e46
commit dcad51b90e
9 changed files with 10 additions and 10 deletions

View File

@@ -52,7 +52,7 @@ var _ = Describe("hostPath", func() {
AfterEach(func() {
By(fmt.Sprintf("Destroying namespace for this suite %v", namespace.Name))
if err := c.Namespaces().Delete(namespace.Name); err != nil {
if err := deleteNS(c, namespace.Name); err != nil {
Failf("Couldn't delete ns %s", err)
}
})