mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-11 13:57:36 -08:00
Fix test broken by inclusion of counter_reset_hint
Signed-off-by: Charles Korn <charles.korn@grafana.com>
This commit is contained in:
parent
90dc1b45db
commit
4da551578c
4
cmd/promtool/testdata/unittest.yml
vendored
4
cmd/promtool/testdata/unittest.yml
vendored
|
@ -69,13 +69,13 @@ tests:
|
||||||
eval_time: 2m
|
eval_time: 2m
|
||||||
exp_samples:
|
exp_samples:
|
||||||
- labels: "test_histogram_repeat"
|
- labels: "test_histogram_repeat"
|
||||||
histogram: "{{count:2 sum:3 buckets:[2]}}"
|
histogram: "{{count:2 sum:3 counter_reset_hint:not_reset buckets:[2]}}"
|
||||||
|
|
||||||
- expr: test_histogram_increase
|
- expr: test_histogram_increase
|
||||||
eval_time: 2m
|
eval_time: 2m
|
||||||
exp_samples:
|
exp_samples:
|
||||||
- labels: "test_histogram_increase"
|
- labels: "test_histogram_increase"
|
||||||
histogram: "{{count:4 sum:5.6 buckets:[4]}}"
|
histogram: "{{count:4 sum:5.6 counter_reset_hint:not_reset buckets:[4]}}"
|
||||||
|
|
||||||
# Ensure a value is stale as soon as it is marked as such.
|
# Ensure a value is stale as soon as it is marked as such.
|
||||||
- expr: test_stale
|
- expr: test_stale
|
||||||
|
|
Loading…
Reference in a new issue