mirror of
https://github.com/prometheus/prometheus.git
synced 2026-05-28 04:02:21 -04:00
lint fixes
Signed-off-by: Harsh <harshmastic@gmail.com>
This commit is contained in:
parent
a612cd8954
commit
4d7d8ebcfa
1 changed files with 0 additions and 2 deletions
|
|
@ -1174,9 +1174,7 @@ scrape_configs:
|
|||
require.Len(t, got, 2, "expected 2 histogram samples (zero sample + actual sample)")
|
||||
require.Equal(t, histogram.Histogram{}, *got[0].h, "first sample should be zero sample")
|
||||
require.InDelta(t, expectedHistogramSum, got[1].h.Sum, 1e-9, "second sample should retain the expected sum")
|
||||
|
||||
require.Len(t, app.resultExemplars, 2, "expected 2 exemplars from histogram buckets")
|
||||
|
||||
}
|
||||
|
||||
func applyConfig(
|
||||
|
|
|
|||
Loading…
Reference in a new issue