Skip to content
Snippets Groups Projects
Commit 094bb142 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-3420 increase timeout

parent cc336f43
Branches
Tags
No related merge requests found
...@@ -530,15 +530,15 @@ Void waitForKopStackRollout(kopBezeichner) { ...@@ -530,15 +530,15 @@ Void waitForKopStackRollout(kopBezeichner) {
Void waitForRollout(String bezeichner) { Void waitForRollout(String bezeichner) {
waitForHealthyApplication(bezeichner, 'application') waitForHealthyApplication(bezeichner, 'application')
waitForHealthyApplication(bezeichner, 'user-manager')
waitForHealthyApplication(bezeichner, 'pluto') waitForHealthyApplication(bezeichner, 'pluto')
waitForHealthyApplication(bezeichner, 'user-manager')
waitForHealthyApplication(bezeichner, 'goofy') waitForHealthyApplication(bezeichner, 'goofy')
} }
Void waitForHealthyApplication(String bezeichner, String application) { Void waitForHealthyApplication(String bezeichner, String application) {
try { try {
def countRetry = 0 def countRetry = 0
def maxRetry = 12 def maxRetry = 24
while (!isApplicationPresent(bezeichner, application) && countRetry < maxRetry ) { while (!isApplicationPresent(bezeichner, application) && countRetry < maxRetry ) {
countRetry++ countRetry++
...@@ -563,7 +563,7 @@ Boolean isApplicationHealthy(String bezeichner, String application) { ...@@ -563,7 +563,7 @@ Boolean isApplicationHealthy(String bezeichner, String application) {
} }
Void waitForHealthyStatus(String bezeichner, String application) { Void waitForHealthyStatus(String bezeichner, String application) {
sh "kubectl wait --for=jsonpath='{.status.health.status}'=Healthy applications/by-${bezeichner}-dev-${application} -n argocd --timeout=360s" sh "kubectl wait --for=jsonpath='{.status.health.status}'=Healthy applications/by-${bezeichner}-dev-${application} -n argocd --timeout=900s"
} }
Void publishE2ETestResult(String reportFolder, String reportName) { Void publishE2ETestResult(String reportFolder, String reportName) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment