From ff2053c75654fdd26ccbebd67a4c88efc08ea62d Mon Sep 17 00:00:00 2001 From: Vadim Rutkovsky Date: Wed, 12 Jun 2019 21:06:28 +0200 Subject: [PATCH] template: extend timeout in waitForPodDeletion ci-operator should wait for 10 mins for pod to be deleted, as teradown in e2e-aws takes about 7 mins to complete on average --- pkg/steps/template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/steps/template.go b/pkg/steps/template.go index a381d35d..d0bba552 100644 --- a/pkg/steps/template.go +++ b/pkg/steps/template.go @@ -422,7 +422,7 @@ func createOrRestartPod(podClient coreclientset.PodInterface, pod *coreapi.Pod) } func waitForPodDeletion(podClient coreclientset.PodInterface, name string, uid types.UID) error { - timeout := 300 + timeout := 600 for i := 0; i < timeout; i += 2 { pod, err := podClient.Get(name, meta.GetOptions{}) if errors.IsNotFound(err) {