lab3 completed

This commit is contained in:
kuruoni
2026-11-24 23:07:02 +03:00
parent 0ab3a341aa
commit 06e12d8734
26 changed files with 1034 additions and 33 deletions
+2
View File
@@ -0,0 +1,2 @@
(venv) PS C:\Users\kurich\Desktop\wtf\Labs\VP\mtusi2026lab3> python scripts/check_contract.py
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
+4
View File
@@ -0,0 +1,4 @@
(venv) PS C:\Users\kurich\Desktop\wtf\Labs\VP\mtusi2026lab3> python tests/resilience.py --mode failover --action-script scripts/stop_one.bat --base-url http://localhost:8080
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 103, "failed_attempts": 1, "first_recovery_seconds": 0.797}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
+3
View File
@@ -0,0 +1,3 @@
(venv) PS C:\Users\kurich\Desktop\wtf\Labs\VP\mtusi2026lab3> python tests/resilience.py --mode persistence --action-script scripts/restart.cmd --base-url http://localhost:8080
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
+2
View File
@@ -0,0 +1,2 @@
(venv) PS C:\Users\kurich\Desktop\wtf\Labs\VP\mtusi2026lab3> python tests/smoke.py
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.