Commit 7f7842e6 authored by nikhiljindal's avatar nikhiljindal

Increasing timeout for clusters to be ready

parent abfe8943
...@@ -75,7 +75,7 @@ var _ = framework.KubeDescribe("Federation apiserver [Feature:Federation]", func ...@@ -75,7 +75,7 @@ var _ = framework.KubeDescribe("Federation apiserver [Feature:Federation]", func
// Verify that the cluster is marked ready. // Verify that the cluster is marked ready.
func isReady(clusterName string, clientset *federation_internalclientset.Clientset) error { func isReady(clusterName string, clientset *federation_internalclientset.Clientset) error {
return wait.PollImmediate(time.Second, wait.ForeverTestTimeout, func() (bool, error) { return wait.PollImmediate(time.Second, 5*time.Minute, func() (bool, error) {
c, err := clientset.Federation().Clusters().Get(clusterName) c, err := clientset.Federation().Clusters().Get(clusterName)
if err != nil { if err != nil {
return false, err return false, err
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment