Browse Source

Fix test broken by inclusion of `counter_reset_hint`

Signed-off-by: Charles Korn <charles.korn@grafana.com>
pull/14820/head
Charles Korn 3 months ago
parent
commit
4da551578c
No known key found for this signature in database
  1. 4
      cmd/promtool/testdata/unittest.yml

4
cmd/promtool/testdata/unittest.yml vendored

@ -69,13 +69,13 @@ tests:
eval_time: 2m
exp_samples:
- 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
eval_time: 2m
exp_samples:
- 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.
- expr: test_stale

Loading…
Cancel
Save