mirror of https://git.rancher.io/charts
12 lines
485 B
Diff
12 lines
485 B
Diff
--- charts-original/templates/tests/test-configmap.yaml
|
|
+++ charts/templates/tests/test-configmap.yaml
|
|
@@ -11,7 +11,7 @@
|
|
@test "Test Health" {
|
|
url="http://{{ template "grafana.fullname" . }}/api/health"
|
|
|
|
- code=$(wget --server-response --spider --timeout 90 --tries 10 ${url} 2>&1 | awk '/^ HTTP/{print $2}')
|
|
+ code=$(wget --server-response --spider --timeout 10 --tries 1 ${url} 2>&1 | awk '/^ HTTP/{print $2}')
|
|
[ "$code" == "200" ]
|
|
}
|
|
{{- end }}
|