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

Function testServer

tempodb/backend/gcs/gcs_test.go:571–577  ·  view source on GitHub ↗
(t *testing.T, httpHandler http.HandlerFunc)

Source from the content-addressed store, hash-verified

569}
570
571func testServer(t *testing.T, httpHandler http.HandlerFunc) *httptest.Server {
572 t.Helper()
573 assert.NotNil(t, httpHandler)
574 server := httptest.NewServer(httpHandler)
575 t.Cleanup(server.Close)
576 return server
577}

Callers 3

TestObjectWithPrefixFunction · 0.70
TestDeleteFunction · 0.70
TestListBlocksWithPrefixFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected