forked from mtusi2026/mtusi2026lab2
ЛР2: PostgreSQL, сессии Bearer, кэш Valkey, Compose, исследование индексов и backup
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
$ python3 tests/smoke.py
|
||||
PASS: lab2 public API scenario; infrastructure and grading evidence remain separate.
|
||||
$ python3 tests/resilience.py --mode persistence --action-script scripts/restart.sh (Windows: restart.cmd; контейнеры до/после — persistence_containers.txt)
|
||||
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
||||
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
$ python3 scripts/check_contract.py
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
$ python -m unittest discover -s student-tests -p test_api.py
|
||||
Ran 12 tests in 2.802s
|
||||
OK
|
||||
$ python student-tests/test_expiry.py (SESSION_TTL_SECONDS=2)
|
||||
Ran 2 tests in 10.310s
|
||||
OK
|
||||
$ python student-tests/test_dependencies.py (остановка Valkey / PostgreSQL)
|
||||
Ran 2 tests in 14.884s
|
||||
OK
|
||||
Reference in New Issue
Block a user