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

Method Add

pkg/testexporter/correctness/runner.go:136–140  ·  view source on GitHub ↗

Add a new TestCase.

(tc Case)

Source from the content-addressed store, hash-verified

134
135// Add a new TestCase.
136func (r *Runner) Add(tc Case) {
137 r.mtx.Lock()
138 defer r.mtx.Unlock()
139 r.cases = append(r.cases, tc)
140}
141
142// Describe implements prometheus.Collector.
143func (r *Runner) Describe(c chan<- *prometheus.Desc) {

Callers 10

mainFunction · 0.95
NewDeleteSeriesTestFunction · 0.45
TestMethod · 0.45
sendDeleteRequestMethod · 0.45
timeEpsilonCorrectFunction · 0.45
calculateMinQueryTimeFunction · 0.45
NewRunnerFunction · 0.45
runRandomTestMethod · 0.45
TestMinQueryTimeFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestMinQueryTimeFunction · 0.36