Implement lab3 grade 4: balanced API replicas, shared idempotency and failure tests
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
$ python tests/resilience.py --mode failover --base-url http://127.0.0.1:8080 --action-script scripts/stop-one.cmd
|
||||
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
|
||||
{"observed_instances_before": 2, "successful_writes": 112, "failed_attempts": 2, "first_recovery_seconds": 1.852}
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
Reference in New Issue
Block a user