forked from mtusi2026/mtusi2026lab3
Уточнить доказательства финальных проверок
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
Date: 2026-10-27
|
||||
Code under test: d942679
|
||||
Scenario: public tests/resilience.py failover mode. The selected X-Instance-Id was mapped to one API container and stopped; the 15-second test loop then sent writes through the LB using the same session.
|
||||
Aggregate stdout:
|
||||
observed_instances_before=2
|
||||
successful_writes=108
|
||||
failed_attempts=1
|
||||
first_recovery_seconds=3.312
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
Command: make test-failover ACTION_SCRIPT=scripts/stop-one.sh BASE_URL=http://127.0.0.1:8081 (Ubuntu WSL; tracked POSIX hook)
|
||||
Output:
|
||||
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://127.0.0.1:8081"
|
||||
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
|
||||
{"observed_instances_before": 2, "successful_writes": 140, "failed_attempts": 0, "first_recovery_seconds": 0.673}
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
The test stopped the selected API container; the stopped replica was restored after the check.
|
||||
Reference in New Issue
Block a user