mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-12-04 00:15:29 +00:00
test(frontend): cover TTL rollup cache and perf (#10799)
* test(frontend): cover TTL rollup cache and perf Signed-off-by: discord9 <discord9@163.com> * test(integration): drop the rollup cache reset token #10570 removed RollupCacheOptions::reset_token: the reset is the debug endpoint behind the existing auth, and no test here read the token. The field made tests-integration fail to compile against the current cache. Signed-off-by: discord9 <discord9@163.com> * test(frontend): follow the promql_rollup_cache rename Adapt the rollup cache E2E tests and the perf harness to the parent's promql_rollup_cache rename, including the rendered [promql_rollup_cache] configuration table: a case that rendered [rollup_cache] would have measured two uncached frontends while presenting itself as a cache measurement. The parent's twenty-step chunk floor also changes the geometry the tests and the case describe, so the E2E data window moves to 20..65 minutes to still hold a whole canonical chunk, and the perf case comment now states the three 100-minute chunks and thirteen direct points. Every asserted value and every latency threshold is unchanged. Signed-off-by: discord9 <discord9@163.com> * perf(test): render only the rollup cache fields a case sets Signed-off-by: discord9 <discord9@163.com> * test(integration): drop the redundant rollup cache expiry test Signed-off-by: discord9 <discord9@163.com> * docs(test): trim rollup cache perf prose Signed-off-by: discord9 <discord9@163.com> --------- Signed-off-by: discord9 <discord9@163.com>
This commit is contained in:
@@ -48,6 +48,10 @@ DEFAULT_CASES = [
|
||||
|
||||
HEAVY_CASES = [
|
||||
"tests/perf/query_cases/prom_remote_write_7913/case.toml",
|
||||
# The rollup cache case compares a candidate-only frontend feature against
|
||||
# an uncached base, so it is a feature measurement rather than a routine
|
||||
# scan-path gate: run it on demand, not on every PR.
|
||||
"tests/perf/query_cases/prom_rollup_cache_warm_range/case.toml",
|
||||
# High-cardinality direct-SST cases exceed the default query-regression
|
||||
# runner's resources (the self-hosted runner is repeatedly lost during the
|
||||
# run). Keep them in the heavy set so they only run on demand.
|
||||
@@ -449,6 +453,7 @@ def run_remote_case(
|
||||
render = [
|
||||
str(runner), "render-remote-config", "--case", str(case_path),
|
||||
"--fixture-generator", str(fixture_generator),
|
||||
"--target", target.name,
|
||||
"--output", str(target.frontend_config),
|
||||
]
|
||||
render_status = subprocess.run(render, check=False).returncode
|
||||
|
||||
Reference in New Issue
Block a user