From 396d1efe57d0d590fbafa5e752b62c3a0edec164 Mon Sep 17 00:00:00 2001 From: discord9 <55937128+discord9@users.noreply.github.com> Date: Thu, 10 Sep 2026 19:11:44 +0800 Subject: [PATCH] test: keep OTLP range performance control off sample boundaries Signed-off-by: discord9 <55937128+discord9@users.noreply.github.com> --- tests/perf/query_cases/otlp_ns_last_row_9070/case.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/perf/query_cases/otlp_ns_last_row_9070/case.toml b/tests/perf/query_cases/otlp_ns_last_row_9070/case.toml index d74c53b3c8..dc46273bd1 100644 --- a/tests/perf/query_cases/otlp_ns_last_row_9070/case.toml +++ b/tests/perf/query_cases/otlp_ns_last_row_9070/case.toml @@ -39,9 +39,12 @@ expected_cardinality = 256 max_candidate_latency_regression_pct = 25 [[scenario.queries]] +# Keep the performance control off the 100ms sample grid: the baseline +# truncates +123ns samples and would otherwise select a future sample. +# Native boundary correctness is covered separately by SQL regressions. name = "range_selector_last_row_control" kind = "tql" -query = "TQL EVAL (1704067293, 1704067303, '1s') otlp_ns_last_row_9070{host=~'host.*'}" +query = "TQL EVAL (1704067293.05, 1704067303.05, '1s') otlp_ns_last_row_9070{host=~'host.*'}" warmup = 3 iterations = 9 compare_results = true @@ -62,6 +65,6 @@ plan_contains = "LastRow { after_merge: true }" [[scenario.queries]] name = "range_no_last_row_plan" kind = "tql" -query = "TQL ANALYZE VERBOSE (1704067293, 1704067303, '1s') otlp_ns_last_row_9070{host=~'host.*'}" +query = "TQL ANALYZE VERBOSE (1704067293.05, 1704067303.05, '1s') otlp_ns_last_row_9070{host=~'host.*'}" measure = false plan_absent = "LastRow"