More debug in Cluster Autoscaler e2e test

This commit is contained in:
Marcin Wielgus 2016-06-16 12:00:55 +02:00
parent 7564523032
commit 32b248fdbc

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)
}