From 7a5ffe6af5e58f1e71e64fd6aa581f6d1096122d Mon Sep 17 00:00:00 2001 From: Karsten Ludwig Hauser Date: Tue, 15 Oct 2024 10:54:11 +0200 Subject: [PATCH] fix: testrunner initContainer check fixed (#691) --- charts/icm/templates/test-job.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/icm/templates/test-job.yaml b/charts/icm/templates/test-job.yaml index ddf20edd..87f2e1da 100644 --- a/charts/icm/templates/test-job.yaml +++ b/charts/icm/templates/test-job.yaml @@ -88,10 +88,10 @@ spec: - -c - | {{- if index .Values "icm-as" "replication" "enabled" }} - until wget --server-response --header "X-HEALTHCHECK: INTERSHOPAGENT" https://{{ .Values.testrunner.initContainerDomainNameLive }}/INTERSHOP/wastatus 2>&1 | grep -q "HTTP/1.1 200 OK" && - wget --server-response --header "X-HEALTHCHECK: INTERSHOPAGENT" https://{{ .Values.testrunner.initContainerDomainNameEdit }}/INTERSHOP/wastatus 2>&1 | grep -q "HTTP/1.1 200 OK"; do + until wget --server-response --header "X-HEALTHCHECK: INTERSHOPAGENT" https://{{ .Values.testrunner.initContainerDomainNameLive }}/servlet/ConfigurationServlet 2>&1 | grep -q "HTTP/1.1 200" && + wget --server-response --header "X-HEALTHCHECK: INTERSHOPAGENT" https://{{ .Values.testrunner.initContainerDomainNameEdit }}/servlet/ConfigurationServlet 2>&1 | grep -q "HTTP/1.1 200"; do {{- else }} - until wget --server-response --header "X-HEALTHCHECK: INTERSHOPAGENT" https://{{ .Values.testrunner.initContainerDomainName }}/INTERSHOP/wastatus 2>&1 | grep -q "HTTP/1.1 200 OK"; do + until wget --server-response --header "X-HEALTHCHECK: INTERSHOPAGENT" https://{{ .Values.testrunner.initContainerDomainName }}/servlet/ConfigurationServlet 2>&1 | grep -q "HTTP/1.1 200"; do {{- end }} echo "Readiness probe of application server has failed" sleep 5