archive: test the metric functions and the backup output filter, and skip absent summary fields
This commit is contained in:
parent
723ce866f1
commit
b60779093e
1 changed files with 263 additions and 6 deletions
|
|
@ -83,6 +83,9 @@ in
|
|||
# Runs ./host-modules/lib/otlp-gauges.nix's `otlp_gauges` against a stub `curl`: the
|
||||
# payload shape, a failed push and a bad value both return 0, no endpoint pushes nothing.
|
||||
script-test-otlp-gauges = import ./script-tests/otlp-gauges.nix { inherit pkgs; };
|
||||
# Runs the metric functions of the archive backup and prune scripts: the gauges for a
|
||||
# success, a failure and a partial summary, the newest snapshot, and the output filter.
|
||||
script-test-archive-metrics = import ./script-tests/archive-metrics.nix { inherit pkgs; };
|
||||
# Runs ./host-modules/lib/retry-in-job.nix's `retry_in_job`, which the agent
|
||||
# trust-bundle fetch retries through inside its start job: success after two
|
||||
# failures, the wait schedule, and a return of 1 once the budget is spent.
|
||||
|
|
|
|||
Loading…
Reference in a new issue