From 8275b664360d3edf4089d86e6b175dc489708ae7 Mon Sep 17 00:00:00 2001 From: Anurag Mittal Date: Thu, 14 Nov 2024 12:54:07 +0100 Subject: [PATCH] remove duplicate check --- .github/scripts/verify_helm_install.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/scripts/verify_helm_install.sh b/.github/scripts/verify_helm_install.sh index d4c8dfba..8c4c17ea 100644 --- a/.github/scripts/verify_helm_install.sh +++ b/.github/scripts/verify_helm_install.sh @@ -10,13 +10,8 @@ if ! helm status scality-cosi-driver -n $NAMESPACE; then exit 1 fi -if ! kubectl wait --for=condition=Ready pod -l app.kubernetes.io/name=scality-cosi-driver -n $NAMESPACE --timeout=120s; then - echo "One or more pods failed to start within the expected time" - exit 1 -fi - echo "Verifying COSI driver Pod status..." -if ! kubectl wait --namespace $NAMESPACE --for=condition=ready pod --selector=app.kubernetes.io/name=scality-cosi-driver --timeout=30s; then +if ! kubectl wait --namespace $NAMESPACE --for=condition=ready pod --selector=app.kubernetes.io/name=scality-cosi-driver --timeout=120s; then echo "Error: COSI driver Pod did not reach ready state." kubectl get pods -n $NAMESPACE exit 1