feat: core func lab7

This commit is contained in:
Enterxx2
2026-11-24 14:04:04 +03:00
parent 4829fc7b4e
commit 411ca73aa0
83 changed files with 2883 additions and 523 deletions
+14
View File
@@ -0,0 +1,14 @@
python3 tests/resilience.py --mode persistence --action-script "./scripts/restart.sh" --base-url "https://localhost:18443" --ca-file "certs/ca.crt"
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
python3 tests/resilience.py --mode failover --action-script "./scripts/stop-one.sh" --base-url "https://localhost:18443" --ca-file "certs/ca.crt"
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 122, "failed_attempts": 0, "first_recovery_seconds": 2.565}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
Container messenger-lab7-security-check-api-1 Running
Container messenger-lab7-security-check-api-2 Starting
Container messenger-lab7-security-check-api-2 Started
Container messenger-lab7-security-check-api-1 Waiting
Container messenger-lab7-security-check-api-2 Waiting
Container messenger-lab7-security-check-api-1 Healthy
Container messenger-lab7-security-check-api-2 Healthy