Files
mtusi2026lab2-fork/evidence/revocation_partition.txt

10 lines
759 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Регрессия замечания ревью №1: прогрев кэша -> разрыв API<->Redis (iptables REJECT tcp-reset, Redis НЕ перезапускается)
# -> logout -> восстановление связи -> опрос старого токена 8 с (дольше circuit breaker 5 с).
# Скрипт: student-tests/revocation_partition.py --partition/--heal "iptables ... tcp-reset" (тот же сценарий входит в student-tests/dependency_failure.py)
--- до исправления (первая сдача)
logout during partition: 204
revoked token statuses over 8 s after heal: [200, 401]
--- после исправления
logout during partition: 204
revoked token statuses over 8 s after heal: [401]