mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Increasing timeout for clusters to be ready
This commit is contained in:
parent
abfe894385
commit
7f7842e657
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user