Skip to content

Commit

Permalink
Merge pull request #728 from eclipse-che/fix_catalogs
Browse files Browse the repository at this point in the history
Fix e2e: Wait for catalog source to be ready
  • Loading branch information
flacatus authored Mar 22, 2021
2 parents d179655 + 430125a commit a5cbdf7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions olm/olm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,7 @@ waitCatalogSourcePod() {
CATALOG_POD=$(kubectl get pods -n "${namespace}" -o yaml | yq -r ".items[] | select(.metadata.name | startswith(\"${packageName}\")) | .metadata.name")
sleep 10
else
kubectl wait --for=condition=ready pod/"${CATALOG_POD}" -n "${namespace}" --timeout=180s
break
fi
done
Expand Down

0 comments on commit a5cbdf7

Please sign in to comment.