mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-28 04:02:21 -04:00
Fix TestScrapeLoop_HistogramBucketLimit
TestScrapeLoop_HistogramBucketLimit tests the bucket limiter but it also sets sample_limit to the same value, which seems incorrect. Signed-off-by: Lukasz Mierzwa <l.mierzwa@gmail.com>
This commit is contained in:
parent
ce520b9256
commit
aac472df5b
1 changed files with 0 additions and 1 deletions
|
|
@ -2195,7 +2195,6 @@ func TestScrapeLoop_HistogramBucketLimit(t *testing.T) {
|
|||
}
|
||||
return l
|
||||
}
|
||||
sl.sampleLimit = app.limit
|
||||
|
||||
metric := dto.Metric{}
|
||||
err := sl.metrics.targetScrapeNativeHistogramBucketLimit.Write(&metric)
|
||||
|
|
|
|||
Loading…
Reference in a new issue