Skip to content

Commit

Permalink
fix: testrunner initContainer check fixed (#691)
Browse files Browse the repository at this point in the history
  • Loading branch information
khauser committed Oct 15, 2024
1 parent b16ac5c commit 7a5ffe6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/icm/templates/test-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a5ffe6

Please sign in to comment.