Реализация лабораторной 2: PostgreSQL, сессии, Valkey-кэш
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Tmribob
2026-10-30 19:37:21 +03:00
parent 65003b6119
commit 3df9b09896
44 changed files with 3519 additions and 17 deletions
+9
View File
@@ -0,0 +1,9 @@
$ BASE_URL=http://127.0.0.1:8080 STUDENT_DOCKER_TESTS=1 python -B -m unittest -v test_degradation
test_valkey_loss_degrades_then_postgres_loss_is_bounded (test_degradation.DependencyOutages.test_valkey_loss_degrades_then_postgres_loss_is_bounded) ...
outage summary: {"cached_p50_ms": 16.0, "cache_down_p50_ms": 39.0, "cache_down_p95_ms": 78.0, "db_down_write_seconds": 2.05, "recovery_seconds": 0.58}
ok
----------------------------------------------------------------------
Ran 1 test in 21.384s
OK