MCPcopy Create free account
hub / github.com/cortexproject/cortex / runTestQuery

Function runTestQuery

pkg/ingester/ingester_test.go:80–82  ·  view source on GitHub ↗
(ctx context.Context, t *testing.T, ing *Ingester, ty labels.MatchType, n, v string)

Source from the content-addressed store, hash-verified

78)
79
80func runTestQuery(ctx context.Context, t *testing.T, ing *Ingester, ty labels.MatchType, n, v string) (model.Matrix, *client.QueryRequest, error) {
81 return runTestQueryTimes(ctx, t, ing, ty, n, v, model.Earliest, model.Latest)
82}
83
84func runTestQueryTimes(ctx context.Context, t *testing.T, ing *Ingester, ty labels.MatchType, n, v string, start, end model.Time) (model.Matrix, *client.QueryRequest, error) {
85 matcher, err := labels.NewMatcher(ty, n, v)

Calls 1

runTestQueryTimesFunction · 0.85

Tested by

no test coverage detected