From 0a368288ac7b6571677c3b8077462fc1d5d58088 Mon Sep 17 00:00:00 2001 From: Ernest Wong Date: Wed, 17 Mar 2021 16:07:35 -0700 Subject: [PATCH] agnhost: increase dns timeout from 5 seconds to 20 seconds Signed-off-by: Ernest Wong --- test/images/agnhost/openidmetadata/openidmetadata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/images/agnhost/openidmetadata/openidmetadata.go b/test/images/agnhost/openidmetadata/openidmetadata.go index 8d7a9783481..1fb34d828fe 100644 --- a/test/images/agnhost/openidmetadata/openidmetadata.go +++ b/test/images/agnhost/openidmetadata/openidmetadata.go @@ -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)