Adding polling to all node readiness

This commit is contained in:
Kris Rousey
2015-07-09 11:38:10 -07:00
parent 127fe8d4a5
commit 3058ddad19
3 changed files with 25 additions and 10 deletions

View File

@@ -413,7 +413,7 @@ var _ = Describe("Nodes", func() {
AfterEach(func() {
By("checking whether all nodes are healthy")
if err := allNodesReady(c); err != nil {
if err := allNodesReady(c, time.Minute); err != nil {
Failf("Not all nodes are ready: %v", err)
}
By(fmt.Sprintf("destroying namespace for this suite %s", ns))