From 3f099b68bf20f4ceb8e59b7aa7a5f0ee09671d79 Mon Sep 17 00:00:00 2001
From: shubham <shubham.bajpai@mayadata.io>
Date: Thu, 19 Nov 2020 21:35:03 +0530
Subject: [PATCH] fix(travis): increase wait time for pods

Signed-off-by: shubham <shubham.bajpai@mayadata.io>
---
 ci/upgrade/setup.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ci/upgrade/setup.sh b/ci/upgrade/setup.sh
index 5966713f..3c5cdb50 100755
--- a/ci/upgrade/setup.sh
+++ b/ci/upgrade/setup.sh
@@ -28,7 +28,7 @@ sleep 100
 
 echo "Wait for cspc-operator to start"
 
-kubectl wait --for=condition=available --timeout=300s deployment/cspc-operator -n openebs
+kubectl wait --for=condition=available --timeout=550s deployment/cspc-operator -n openebs
 
 echo "Create application with cStor volume on CSPC"
 
@@ -37,7 +37,7 @@ bdname=$(kubectl -n openebs get blockdevices -o jsonpath='{.items[*].metadata.na
 sed "s|CSPCBD|$bdname|g" ./ci/upgrade/application.tmp.yaml | sed "s|NODENAME|$nodename|g" > ./ci/upgrade/application.yaml
 kubectl apply -f ./ci/upgrade/application.yaml
 sleep 10
-kubectl wait --for=condition=available --timeout=300s deployment/percona
+kubectl wait --for=condition=available --timeout=550s deployment/percona
 
 echo "Upgrade control plane to latest version"