prometheus/scrape
George Krajcsovits 79a6238e19
scrape/scrape_test.go: reduce the time it takes to reload the manager (#14447)
* scrape/scrape_test.go: reduce the time it takes to reload the manager

TestNativeHistogramMaxSchemaSet took over 3x5s to complete because
there's a minimum reload interval.

I've made the testcases run in parallel and reduced the reload interval
to 10ms. Now the test runs in around 0.1-0.2 seconds.

Ran test 10000 times to check if it's flaky.

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>

---------

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2024-09-26 18:35:15 +02:00
..
testdata Include test CA text info (#14699) 2024-08-20 19:41:02 +02:00
clientprotobuf.go lint: Revamp our linting rules, mostly around doc comments 2024-08-22 17:36:11 +02:00
helpers_test.go Histogram CT Zero ingestion 2024-09-26 11:29:22 -03:00
manager.go Scrape: Add scrape_failure_log_file to log Scrape Failures 2024-09-05 11:01:40 +02:00
manager_test.go Histogram CT Zero ingestion 2024-09-26 11:29:22 -03:00
metrics.go Scraping: add metric for symbol table size 2024-07-05 10:16:22 +01:00
scrape.go Histogram CT Zero ingestion 2024-09-26 11:29:22 -03:00
scrape_test.go scrape/scrape_test.go: reduce the time it takes to reload the manager (#14447) 2024-09-26 18:35:15 +02:00
target.go Target parameter labels should not be overridden by config params 2024-09-05 12:10:11 +02:00
target_test.go Merge branch 'main' into nhcb 2024-06-07 19:17:14 +08:00