From 3b98c808917bc4947e328d15f47f9f91521c6cc6 Mon Sep 17 00:00:00 2001 From: Binbin Zhao Date: Mon, 20 Mar 2017 07:28:06 -0700 Subject: [PATCH] Increase wait time of result check to 600 seconds In many cases, 60 seconds are not enough for generating all dns results. Since the probeCmd takes up to 600 seconds, use 600 here too. --- test/e2e/dns.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/dns.go b/test/e2e/dns.go index 849b6b23d91..b825de99261 100644 --- a/test/e2e/dns.go +++ b/test/e2e/dns.go @@ -179,7 +179,7 @@ func assertFilesExist(fileNames []string, fileDir string, pod *v1.Pod, client cl func assertFilesContain(fileNames []string, fileDir string, pod *v1.Pod, client clientset.Interface, check bool, expected string) { var failed []string - framework.ExpectNoError(wait.Poll(time.Second*2, time.Second*60, func() (bool, error) { + framework.ExpectNoError(wait.Poll(time.Second*10, time.Second*600, func() (bool, error) { failed = []string{} subResourceProxyAvailable, err := framework.ServerVersionGTE(framework.SubResourcePodProxyVersion, client.Discovery()) if err != nil {