Increasing timeout for clusters to be ready

pull/6/head
nikhiljindal 2016-06-14 19:48:45 -07:00
parent abfe894385
commit 7f7842e657
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ var _ = framework.KubeDescribe("Federation apiserver [Feature:Federation]", func
// Verify that the cluster is marked ready.
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)
if err != nil {
return false, err