Fix test broken by inclusion of counter_reset_hint

Signed-off-by: Charles Korn <charles.korn@grafana.com>
This commit is contained in:
Charles Korn 2024-09-04 16:33:18 +10:00
parent 90dc1b45db
commit 4da551578c
No known key found for this signature in database

View file

@ -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