mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-12-04 00:15:29 +00:00
* test(promql): make planner test assertions able to fail
- Replace 14 #[should_panic] planner tests that passed on any outcome
(empty plan name, mismatched output type) with full plan assertions.
- Assert the published value column's type instead of finding a column
by that type and re-checking it; drop the observer assertions in
http.rs that re-check the name the observer already filtered on.
- Tighten a `contains("false")` check to `Boolean(false)`.
- Format the plan in panic messages that used literal braces in expect().
- Align test names and docs with what they assert for label rewrites
and native histogram aggregates.
Signed-off-by: Dennis Zhuang <killme2008@gmail.com>
* test(promql): keep expect with plain messages and drop observer name checks
Signed-off-by: Dennis Zhuang <killme2008@gmail.com>
---------
Signed-off-by: Dennis Zhuang <killme2008@gmail.com>