forked from mtusi2026/mtusi2026lab3
Заполнить отчёт и доказательства проверок
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# evidence/local-restart.txt — test-persistence (both replicas restarted, DB untouched)
|
||||
# env: local processes (no Docker), replicas on 8083/8084 behind local LB on 8080
|
||||
=== lab3 persistence — BEFORE (restart both API replicas; DB untouched) ===
|
||||
captured_utc: 2026-11-16T23:03:00Z
|
||||
api1 PID=33056 api2 PID=31913 lb PID=20527
|
||||
api1 X-Instance-Id=93acbc9d-c445-4ab6-94ff-ca2292795dd9
|
||||
api2 X-Instance-Id=b10c4e9a-ffd1-4800-ac69-b486be9a0305
|
||||
pg_postmaster_start_time=2026-11-16 21:35:40.472449+00:00
|
||||
|
||||
--- make test-persistence ACTION_SCRIPT=/tmp/lab3_restart.sh BASE_URL=http://127.0.0.1:8080 ---
|
||||
/workspace/venv-labs/bin/python tests/resilience.py --mode persistence --action-script "/tmp/lab3_restart.sh" --base-url "http://127.0.0.1:8080"
|
||||
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
||||
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
|
||||
=== lab3 persistence — AFTER (same data + session still valid) ===
|
||||
captured_utc: 2026-11-16T23:03:03Z
|
||||
api1 PID=36498 api2 PID=36499 lb PID=20527
|
||||
api1 X-Instance-Id=fca1efad-e515-466c-b66d-be4b7c30eca6
|
||||
api2 X-Instance-Id=3a7c1628-75e2-44c4-af0a-6f674079ebc7
|
||||
pg_postmaster_start_time=2026-11-16 21:35:40.472449+00:00 (unchanged: DB not restarted)
|
||||
Reference in New Issue
Block a user