prometheus/scrape
George Krajcsovits d09db02854
fix(nhcb): flaky test TestConvertClassicHistogramsToNHCB (#17112)
* fix(nhcb): flaky test TestConvertClassicHistogramsToNHCB

The test was e2e, including actually scraping an HTTP endpoint and running
the scrape loop. This led to some timing issues.

I've simplified it to call the scrape loop append directly. I think that
this isn't nice as that is a private interface, but should gets rid of the
flakiness and there's already a bunch of test doing this.

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2025-09-02 13:37:14 +02:00
..
testdata Include test CA text info (#14699) 2024-08-20 19:41:02 +02:00
clientprotobuf.go chore: enable gci linter (#16245) 2025-03-22 15:46:13 +00:00
helpers_test.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
manager.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
manager_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
metrics.go Scraping: add metric for symbol table size 2024-07-05 10:16:22 +01:00
scrape.go Merge pull request #16429 from prymitive/scrapeCacheStaleNaN 2025-09-02 10:41:07 +01:00
scrape_test.go fix(nhcb): flaky test TestConvertClassicHistogramsToNHCB (#17112) 2025-09-02 13:37:14 +02:00
target.go Check ref value when appending staleness markers 2025-07-01 14:22:01 +01:00
target_test.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00