From 607e900f2c8166f332b39685ae2bd301805d6d67 Mon Sep 17 00:00:00 2001 From: Travis Nielsen Date: Wed, 19 Feb 2020 13:33:59 -0700 Subject: [PATCH] ceph: increase timeout for file test pod start The integration tests have failed intermittently due to needing just a little longer to start the file test pod. This increases the wait timeout. Signed-off-by: Travis Nielsen --- tests/framework/utils/k8s_helper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/framework/utils/k8s_helper.go b/tests/framework/utils/k8s_helper.go index 75c8c48af..c9f87bc60 100644 --- a/tests/framework/utils/k8s_helper.go +++ b/tests/framework/utils/k8s_helper.go @@ -581,7 +581,7 @@ func (k8sh *K8sHelper) PrintEventsForNamespace(namespace string) { // IsPodRunning returns true if a Pod is running status or goes to Running status within 90s else returns false func (k8sh *K8sHelper) IsPodRunning(name string, namespace string) bool { getOpts := metav1.GetOptions{} - for i := 0; i < 20; i++ { + for i := 0; i < 30; i++ { pod, err := k8sh.Clientset.CoreV1().Pods(namespace).Get(name, getOpts) if err == nil { if pod.Status.Phase == "Running" {