From 1ffc88549da360391dd397359e7915f4195adf9f Mon Sep 17 00:00:00 2001 From: Anand Kumar Singh Date: Tue, 14 Sep 2021 05:25:27 +0530 Subject: [PATCH] update timeout to 8mins (#5068) Signed-off-by: anandrkskd --- scripts/clean-old-namespace-from-cluster.sh | 0 scripts/openshiftci-e2e-4x-psi-tests_win_mac.sh | 0 tests/helper/helper_oc.go | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 scripts/clean-old-namespace-from-cluster.sh mode change 100644 => 100755 scripts/openshiftci-e2e-4x-psi-tests_win_mac.sh diff --git a/scripts/clean-old-namespace-from-cluster.sh b/scripts/clean-old-namespace-from-cluster.sh old mode 100644 new mode 100755 diff --git a/scripts/openshiftci-e2e-4x-psi-tests_win_mac.sh b/scripts/openshiftci-e2e-4x-psi-tests_win_mac.sh old mode 100644 new mode 100755 diff --git a/tests/helper/helper_oc.go b/tests/helper/helper_oc.go index d04b24c40..56be747df 100644 --- a/tests/helper/helper_oc.go +++ b/tests/helper/helper_oc.go @@ -714,7 +714,7 @@ func (oc OcRunner) PodsShouldBeRunning(project string, regex string) { // Look for pods with specified regex pod := regexp.MustCompile(regex).FindString(pods) args := []string{"get", "pods", pod, "-o", "template=\"{{.status.phase}}\"", "-n", project} - oc.WaitForRunnerCmdOut(args, 5, true, func(output string) bool { + oc.WaitForRunnerCmdOut(args, 8, true, func(output string) bool { return strings.Contains(output, "Running") }) }