Skip to content

Commit

Permalink
Wait 20 min for cluster validation
Browse files Browse the repository at this point in the history
  • Loading branch information
hakman committed Sep 24, 2023
1 parent 4945a8e commit 98f8ab7
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions tests/e2e/kubetest2-kops/deployer/up.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 98f8ab7

Please sign in to comment.