forked from mtusi2026/mtusi2026lab2
22 lines
1.5 KiB
Plaintext
22 lines
1.5 KiB
Plaintext
Docker verification 2026-11-23T23:56:41.1815671+03:00
|
|
PASS: Compose build and startup (http://127.0.0.1:18082)
|
|
python -X utf8 scripts/check_contract.py
|
|
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
|
python tests/smoke.py --base-url http://127.0.0.1:18082
|
|
PASS: lab2 public API scenario; infrastructure and grading evidence remain separate.
|
|
python tests/student_tests.py --base-url http://127.0.0.1:18082
|
|
PASS: validation, Unicode Basic login, access, pagination and logout
|
|
python tests/contract_edge_tests.py --base-url http://127.0.0.1:18082
|
|
PASS: 22 Lab 2 contract edge-case HTTP checks
|
|
Before restart: api=2026-11-23T20:56:35.336160953Z db=2026-11-23T20:56:32.651654239Z volume=mtusi-lab2-review-1123_pgdata
|
|
python tests/resilience.py --mode persistence --action-script scripts/restart.cmd --base-url http://127.0.0.1:18082
|
|
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
|
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
|
After restart: api=2026-11-23T20:56:48.209619191Z db=2026-11-23T20:56:45.52776417Z volume=mtusi-lab2-review-1123_pgdata
|
|
PASS: both Docker containers restarted and the database volume was retained
|
|
PASS: PostgreSQL has exactly one migration record with version 1 after restart
|
|
SESSION_TTL_SECONDS=2; python tests/student_tests.py --expiry --base-url http://127.0.0.1:18082
|
|
PASS: Bearer session expires without logout
|
|
Python 3.12.10
|
|
postgres (PostgreSQL) 16.16 (Debian 16.16-1.pgdg12+1)
|