Files
felhom.eu/documentation/audits/hub-db-offsite-2026-10-05/partA/red-proof.txt
T

27 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Run 1 (R1–R4) in red-proof-run1.txt. R2 there HUNG (600 s timeout) — the old test blocked forever; it convicted by hanging. The test now fails cleanly; R2 re-run below.
### R2 (re-run) — no busy check
=== RUN TestSnapshot_NeverTwoAtOnce
dbsnap_test.go:162: second Make did not return ErrBusy at once: it ran alongside the first
--- FAIL: TestSnapshot_NeverTwoAtOnce (2.00s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-hub/internal/dbsnap 2.007s
FAIL
### R5 — main never schedules the snapshot
=== RUN TestR173_MainSchedulesTheDBSnapshot
r173_wiring_test.go:42: cmd/hub/main.go never calls scheduleDaily(ctx, "db-snapshot", "02:00", …) — no nightly snapshot
--- FAIL: TestR173_MainSchedulesTheDBSnapshot (0.00s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-hub/cmd/hub 0.025s
FAIL
### R6 — main has no start-up catch-up
=== RUN TestR173_MainSchedulesTheDBSnapshot
r173_wiring_test.go:45: cmd/hub/main.go never calls dbsnap.NeedsCatchUp — a pod down at 02:00 leaves a stale snapshot
--- FAIL: TestR173_MainSchedulesTheDBSnapshot (0.00s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-hub/cmd/hub 0.023s
FAIL