add a link to the heml chart

Fixes #210
This commit is contained in:
Nicola Murino
2020-10-29 21:50:21 +01:00
parent ec00613202
commit 5bc1c2de2d
2 changed files with 11 additions and 0 deletions

View File

@@ -2308,6 +2308,13 @@ func TestMetricsMock(t *testing.T) {
checkResponseCode(t, http.StatusOK, rr.Code)
}
func TestHealthCheck(t *testing.T) {
req, _ := http.NewRequest(http.MethodGet, "/healthz", nil)
rr := executeRequest(req)
checkResponseCode(t, http.StatusOK, rr.Code)
assert.Equal(t, "ok", rr.Body.String())
}
func TestPProfEndPointMock(t *testing.T) {
req, _ := http.NewRequest(http.MethodGet, pprofPath, nil)
rr := executeRequest(req)