MCPcopy
hub / github.com/grafana/tempo / TestRunHealthCheckDefaultURL

Function TestRunHealthCheckDefaultURL

cmd/tempo/health_test.go:36–38  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

34}
35
36func TestRunHealthCheckDefaultURL(t *testing.T) {
37 assert.Equal(t, 1, RunHealthCheck(""))
38}
39
40func TestRunHealthCheckConnectionError(t *testing.T) {
41 assert.Equal(t, 1, RunHealthCheck("http://localhost:1/ready"))

Callers

nothing calls this directly

Calls 2

RunHealthCheckFunction · 0.85
EqualMethod · 0.45

Tested by

no test coverage detected