Лабораторная работа 3

This commit is contained in:
2026-10-26 23:23:12 +03:00
parent 0ab3a341aa
commit fafd1828c0
70 changed files with 6665 additions and 25 deletions
+9
View File
@@ -0,0 +1,9 @@
@echo off
rem Windows-вариант stop-one.sh: TARGET_INSTANCE_ID -> один контейнер api, остаётся остановленным.
rem python tests\resilience.py --mode failover --action-script scripts\stop-one.cmd
setlocal
cd /d "%~dp0.."
set PY=python
where python >nul 2>nul || set PY=py -3
%PY% scripts\ops.py stop-one
exit /b %ERRORLEVEL%