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

Function TestApplyHeadersGRPC_empty

cmd/tempo-cli/shared_test.go:95–100  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

93}
94
95func TestApplyHeadersGRPC_empty(t *testing.T) {
96 ctx := context.Background()
97 result := applyHeadersGRPC(ctx, []string{})
98 _, ok := metadata.FromOutgoingContext(result)
99 require.False(t, ok)
100}
101
102func TestParseTime(t *testing.T) {
103 now := time.Now()

Callers

nothing calls this directly

Calls 1

applyHeadersGRPCFunction · 0.85

Tested by

no test coverage detected