Merge pull request #4891 from travisn/increase-test-timeout

Increase timeout for file test pod start
This commit is contained in:
Travis Nielsen authored and GitHub committed 2020-02-19 14:38:21 -07:00
commit 2208b69c4f
1 file changed
+1 -1
+1 -1
View File
@@ -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" {