From 98f8ab7828050d89af9f3fe1853738848c9cd335 Mon Sep 17 00:00:00 2001 From: Ciprian Hacman Date: Sun, 24 Sep 2023 02:09:02 +0200 Subject: [PATCH] Wait 20 min for cluster validation --- tests/e2e/kubetest2-kops/deployer/up.go | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/e2e/kubetest2-kops/deployer/up.go b/tests/e2e/kubetest2-kops/deployer/up.go index c5f47e95e1..872fbf6127 100644 --- a/tests/e2e/kubetest2-kops/deployer/up.go +++ b/tests/e2e/kubetest2-kops/deployer/up.go @@ -261,14 +261,8 @@ func (d *deployer) updateCluster(yes bool) error { func (d *deployer) IsUp() (bool, error) { wait := d.ValidationWait if wait == 0 { - if d.TerraformVersion != "" || d.CloudProvider == "digitalocean" { - // `--target terraform` doesn't precreate the API DNS records, - // so kops is more likely to hit negative TTLs during validation. - // Digital Ocean also occasionally takes longer to validate. - wait = time.Duration(20) * time.Minute - } else { - wait = time.Duration(15) * time.Minute - } + // kOps is more likely to hit negative TTLs for API DNS during validation. + wait = time.Duration(20) * time.Minute } args := []string{ d.KopsBinaryPath, "validate", "cluster",