diff --git a/charts/openconcho/templates/tests/test-healthz.yaml b/charts/openconcho/templates/tests/test-healthz.yaml index 5247baa..5a512e4 100644 --- a/charts/openconcho/templates/tests/test-healthz.yaml +++ b/charts/openconcho/templates/tests/test-healthz.yaml @@ -9,14 +9,15 @@ metadata: helm.sh/hook-delete-policy: before-hook-creation spec: restartPolicy: Never + activeDeadlineSeconds: 60 containers: - name: healthz - image: busybox + image: busybox:1.36 command: - sh - -c - | - RESPONSE=$(wget -qO- http://{{ include "openconcho.fullname" . }}:{{ .Values.service.port }}/healthz) + RESPONSE=$(wget -T 10 -qO- http://{{ include "openconcho.fullname" . }}:{{ .Values.service.port }}/healthz) if [ "$RESPONSE" != "ok" ]; then echo "FAIL: expected 'ok', got '$RESPONSE'" exit 1 diff --git a/charts/openconcho/templates/tests/test-spa-root.yaml b/charts/openconcho/templates/tests/test-spa-root.yaml index 9acb229..e6acda8 100644 --- a/charts/openconcho/templates/tests/test-spa-root.yaml +++ b/charts/openconcho/templates/tests/test-spa-root.yaml @@ -9,14 +9,15 @@ metadata: helm.sh/hook-delete-policy: before-hook-creation spec: restartPolicy: Never + activeDeadlineSeconds: 60 containers: - name: spa-root - image: busybox + image: busybox:1.36 command: - sh - -c - | - if ! wget -qO /dev/null http://{{ include "openconcho.fullname" . }}:{{ .Values.service.port }}/; then + if ! wget -T 10 -q --spider http://{{ include "openconcho.fullname" . }}:{{ .Values.service.port }}/; then echo "FAIL: GET / did not return HTTP 200" exit 1 fi