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

Function testServer

tempodb/backend/s3/s3_test.go:768–774  ·  view source on GitHub ↗
(t *testing.T, httpHandler http.HandlerFunc)

Source from the content-addressed store, hash-verified

766}
767
768func testServer(t *testing.T, httpHandler http.HandlerFunc) *httptest.Server {
769 t.Helper()
770 assert.NotNil(t, httpHandler)
771 server := httptest.NewServer(httpHandler)
772 t.Cleanup(server.Close)
773 return server
774}
775
776const letterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
777const (

Callers 3

TestObjectWithPrefixFunction · 0.70
TestDeleteFunction · 0.70
TestListBlocksWithPrefixFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected