MCPcopy
hub / github.com/prometheus/prometheus / TestScrapeLoopStop

Function TestScrapeLoopStop

scrape/scrape_test.go:1080–1084  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

1078func nopMutator(l labels.Labels) labels.Labels { return l }
1079
1080func TestScrapeLoopStop(t *testing.T) {
1081 foreachAppendable(t, func(t *testing.T, appV2 bool) {
1082 testScrapeLoopStop(t, appV2)
1083 })
1084}
1085
1086func testScrapeLoopStop(t *testing.T, appV2 bool) {
1087 signal := make(chan struct{}, 1)

Callers

nothing calls this directly

Calls 2

foreachAppendableFunction · 0.85
testScrapeLoopStopFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…