Merge pull request #27533 from mwielgus/more-debug-in-e2e-ca

More debug in Cluster Autoscaler e2e test
pull/6/head
Piotr Szczesniak 2016-06-16 13:35:25 +02:00 committed by GitHub
commit afedd3d34d
1 changed files with 4 additions and 0 deletions

View File

@ -437,6 +437,10 @@ func waitForAllCaPodsReadyInNamespace(f *framework.Framework, c *client.Client)
}
glog.Infof("Some pods are not ready yet: %v", notready)
}
glog.Info("Timeout on waiting for pods being ready")
glog.Info(framework.RunKubectlOrDie("get", "pods", "-o json", "--all-namespaces"))
glog.Info(framework.RunKubectlOrDie("get", "nodes", "-o json"))
// Some pods are still not running.
return fmt.Errorf("Some pods are still not running: %v", notready)
}