mirror of https://github.com/k3s-io/k3s
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.pull/6/head
parent
47320fd3f0
commit
3b98c80891
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue