test: verify level-four failures and history index
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
Lab 2 U5 level-4 checks, 2026-10-02, base commit d59d3f4 plus local changes.
|
||||
Local Colima Docker: 2 CPUs, 2054840320 bytes memory; disposable Compose stack.
|
||||
Command: make test-level4 (secrets and session tokens never printed).
|
||||
|
||||
docker compose --env-file .env exec -T api python - < student-tests/test_database.py
|
||||
...
|
||||
----------------------------------------------------------------------
|
||||
Ran 3 tests in 1.252s
|
||||
|
||||
OK
|
||||
docker compose --env-file .env exec -T api python - < student-tests/test_auth.py
|
||||
....
|
||||
----------------------------------------------------------------------
|
||||
Ran 4 tests in 5.335s
|
||||
|
||||
OK
|
||||
docker compose --env-file .env exec -T api python - < student-tests/test_cache_failures.py
|
||||
..
|
||||
----------------------------------------------------------------------
|
||||
Ran 2 tests in 0.300s
|
||||
|
||||
OK
|
||||
SQL queries (miss/hit/reload): 2/1/2; Valkey hit/miss deltas: 1/2
|
||||
CHECK_COMPOSE_FAILURES=1 python3 student-tests/test_compose_failures.py
|
||||
.
|
||||
----------------------------------------------------------------------
|
||||
Ran 1 test in 13.472s
|
||||
|
||||
OK
|
||||
Valkey outage: 200; PostgreSQL outage: readiness/auth 503; revoked token after Valkey restart: 401
|
||||
Reference in New Issue
Block a user