Merge pull request #100359 from chewong/increase-dns-timeout

agnhost: increase dns timeout from 5 seconds to 20 seconds
This commit is contained in:
Kubernetes Prow Robot
2021-03-19 08:04:33 -07:00
committed by GitHub

View File

@@ -187,7 +187,7 @@ func ensureWindowsDNSAvailability(issuer string) error {
return err
}
return wait.PollImmediate(1*time.Second, 5*time.Second, func() (bool, error) {
return wait.PollImmediate(5*time.Second, 20*time.Second, func() (bool, error) {
ips, err := net.LookupHost(u.Host)
if err != nil {
log.Println(err)