prometheus/promql
beorn7 a4d57fce74 promqltest: Adjust more tests to "left-open" ranges
This was an oversight because the old tests still happened to pass
with the new behavior, but important test data was excluded at the
left end of the interval, rendering some tests not actually testing
what we want to test.

In the past, we also applied different strategies to adjust the test
(extend the range from 1m to 2m, or set the evaluation timestamp to
45s). This commit unifies things and reduces redundancy.

Signed-off-by: beorn7 <beorn@grafana.com>
2025-06-05 14:06:51 +02:00
..
fuzz-data textparse: Add fuzzing and fix bug caught 2017-07-07 11:12:17 +02:00
parser Merge pull request #16249 from roidelapluie/arythmetics 2025-04-22 10:17:41 +02:00
promqltest promqltest: Adjust more tests to "left-open" ranges 2025-06-05 14:06:51 +02:00
bench_test.go v2.55.0 2024-10-25 14:16:22 +02:00
durations_test.go Address feedback 2025-04-07 12:58:34 +02:00
durations.go Address feedback 2025-04-03 13:19:55 +02:00
engine_internal_test.go chore: enable gci linter (#16245) 2025-03-22 15:46:13 +00:00
engine_test.go Move calculation to the engine 2025-04-03 10:56:02 +02:00
engine.go promql: histogram_fraction for bucket histograms (#16095) 2025-04-23 00:28:31 +02:00
functions_internal_test.go Fix issue where summation of +/- infinity returns NaN instead of infinity 2024-06-28 11:26:54 +10:00
functions_test.go Refactor engine creation in tests 2024-07-14 13:58:51 +02:00
functions.go promql: histogram_stddev and histogram_stdvar should use arithmetic mean for custom buckets 2025-04-24 14:48:58 +02:00
fuzz_test.go fix: use "ErrorContains" or "EqualError" instead of "Contains(t, err.Error()" and "Equal(t, err.Error()" (#15094) 2024-10-06 16:35:29 +00:00
fuzz.go scrape: provide a fallback format (#15136) 2024-10-18 17:12:31 +02:00
histogram_stats_iterator_test.go chore: enable unused-parameter from revive 2025-02-19 19:50:28 +01:00
histogram_stats_iterator.go Use CopyTo when resetting histogram in stats iterator 2024-07-31 11:18:47 +02:00
info_test.go [FEATURE] PromQL: Add experimental info function MVP (#14495) 2024-10-16 13:52:11 +01:00
info.go chore: enable unused-parameter from revive 2025-02-19 19:50:28 +01:00
promql_test.go Refactor engine creation in tests 2024-07-14 13:58:51 +02:00
quantile_test.go Export quantile functions (#15190) 2024-11-27 13:20:23 +01:00
quantile.go promql: histogram_fraction for bucket histograms (#16095) 2025-04-23 00:28:31 +02:00
query_logger_test.go chore: Fix typos (#14868) 2024-09-10 22:32:03 +02:00
query_logger.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
value_test.go test: move most PromQL tests into separate test package 2024-05-08 16:28:56 +01:00
value.go chore: Fix typos (#14868) 2024-09-10 22:32:03 +02:00