mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
test/others: Test compression benchmark tooling
Benchmark output can look credible even when command construction, configuration recovery, archive inspection, accounting, or cleanup has drifted. Full Podman and model-serving trials are too expensive for focused checks of those helpers. Add fast tests that load both serving frontends against their shared implementation while keeping their mutable state separate. Cover CRIU option isolation, explicit automatic decompression, port-derived URLs, inventory validation, runc.conf locking and crash recovery, metadata preservation, secret redaction, container failure detection, response integrity, signal handling, and cleanup. Also verify deterministic workload generation, report normalization, cache-control failures, and the pagemap evidence required by the region-cache benchmark. Add the compression benchmark tree to ruff and provide a dedicated unit target. Assisted-by: Codex:GPT-5 Assisted-by: Claude:claude-fable-5 Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
parent
2d1335b755
commit
ce933af777
3 changed files with 1086 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -468,7 +468,8 @@ ruff:
|
|||
coredump/ coredump/coredump \
|
||||
scripts/github-indent-warnings.py \
|
||||
contrib/criu-service-client/test/*.py \
|
||||
contrib/compression-benchmark/
|
||||
contrib/compression-benchmark/ \
|
||||
test/others/compression/
|
||||
|
||||
shellcheck:
|
||||
shellcheck --version
|
||||
|
|
|
|||
3
test/others/compression/benchmark/Makefile
Normal file
3
test/others/compression/benchmark/Makefile
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
unit:
|
||||
python3 ./test_config.py
|
||||
.PHONY: unit
|
||||
1081
test/others/compression/benchmark/test_config.py
Normal file
1081
test/others/compression/benchmark/test_config.py
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue