Merge pull request #728 from eclipse-che/fix_catalogs

Fix e2e: Wait for catalog source to be ready
pull/729/head
Flavius Lacatusu 2021-03-22 11:23:35 +01:00 committed by GitHub
commit a5cbdf7e0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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