Increasing timeout for clusters to be ready
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user