test: add deferred phase 8 adversarial matrix

This commit is contained in:
2026-07-23 10:49:48 +00:00
parent 3d09e32ccd
commit 69709c778b
11 changed files with 820 additions and 2 deletions
+1 -2
View File
@@ -53,7 +53,7 @@ services:
qbittorrent:
condition: service_healthy
volumes:
- ./config/client.toml:/etc/archive-control/client.toml:ro
- "${ARCHIVE_2_CLIENT_CONFIG:-./config/client.toml}:/etc/archive-control/client.toml:ro"
- ./secrets:/run/secrets:ro
- ./runtime/client-state:/var/lib/archive-control
- ./runtime/client-backups:/var/backups/archive-control
@@ -68,4 +68,3 @@ networks:
archive-control-e2e:
external: true
name: archive-control-e2e
@@ -0,0 +1,35 @@
client_id = "archive-2"
display_name = "E2E Archive 2 (exhausted reserve)"
role = "archive"
control_endpoint = "ws://control:8765/archive_control"
shared_token_file = "/run/secrets/archive_control_token"
state_db = "/var/lib/archive-control/client.db"
backup_dir = "/var/backups/archive-control"
[connection]
registration_timeout = "5s"
heartbeat_interval = "2s"
offline_timeout = "10s"
reconnect_initial = "1s"
reconnect_max = "5s"
reconnect_reset_after = "10s"
reconnect_jitter = false
[jobs]
# Deliberately impossible reserve used only by the Phase 8 disk-exhaustion
# scenario. This exercises the real capacity guard without filling a volume.
free_space_reserve_bytes = 9223372036854775807
[qbittorrent]
endpoint = "http://qb-archive-2:8080"
username = "admin"
password_file = "/run/secrets/qb_password"
api_root = "/downloads"
local_root = "/data/qb"
[syncthing]
endpoint = "http://syncthing-archive-2:8384"
api_key_file = "/run/secrets/syncthing_api_key"
api_root = "/sync"
local_root = "/data/sync"
advertised_addresses = ["tcp://syncthing-archive-2:22000"]