mirror of
https://github.com/prometheus/prometheus
synced 2025-04-01 00:06:53 +00:00
scrape: update test name
Signed-off-by: Giedrius Statkevičius <giedrius.statkevicius@vinted.com>
This commit is contained in:
parent
5479fb3cfd
commit
5d76510bd6
@ -4795,7 +4795,8 @@ func newScrapableServer(scrapeText string) (s *httptest.Server, scrapedTwice cha
|
|||||||
})), scrapedTwice
|
})), scrapedTwice
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestTargetScraperSetsMetricsField(t *testing.T) {
|
// Regression test for the panic fixed in https://github.com/prometheus/prometheus/pull/15523.
|
||||||
|
func TestScrapePoolScrapeAfterReload(t *testing.T) {
|
||||||
h := httptest.NewServer(http.HandlerFunc(
|
h := httptest.NewServer(http.HandlerFunc(
|
||||||
func(w http.ResponseWriter, r *http.Request) {
|
func(w http.ResponseWriter, r *http.Request) {
|
||||||
w.Write([]byte{0x42, 0x42})
|
w.Write([]byte{0x42, 0x42})
|
||||||
|
Loading…
Reference in New Issue
Block a user