Skip to content
Snippets Groups Projects
Commit 98e0d9a1 authored by Martin's avatar Martin
Browse files

increase timeout for namespace deletion 120s -> 900s

parent efe24067
No related branches found
No related tags found
No related merge requests found
......@@ -650,7 +650,7 @@ Boolean hasNamespaceFile(String bezeichner) {
Void waitForDeletion(String bezeichner) {
try {
sh "kubectl wait --for=delete applications/by-${bezeichner}-dev-application -n argocd --timeout=120s"
sh "kubectl wait --for=delete applications/by-${bezeichner}-dev-application -n argocd --timeout=900s"
} catch (Exception e) {
try {
if (mongoDbApplicationExists(bezeichner)) {
......@@ -659,7 +659,7 @@ Void waitForDeletion(String bezeichner) {
removePendingOzgCloudKeycloakResources(bezeichner)
sh "kubectl wait --for=delete applications/by-${bezeichner}-dev-application -n argocd --timeout=120s"
sh "kubectl wait --for=delete applications/by-${bezeichner}-dev-application -n argocd --timeout=900s"
} catch (Exception e2) {
sh "kubectl get applications -n argocd | grep 'by-${bezeichner}-dev'"
error("Application by-${bezeichner}-dev-application konnte nicht gelöscht werden")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment