forked from mtusi2026/mtusi2026lab4
перенос: реализация lab3 без изменений (API, миграции 0001-0003, HAProxy, Valkey, тесты)
Исходники, Dockerfile, compose.yaml, скрипты и собственные тесты скопированы из mtusi2026lab3 (ветка solution/bvt2302-bodanyuk, b6847e2) как есть; изменения lab4 — отдельными коммитами. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
ec540a1a72
commit
d916d09f7b
@@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
rem Windows wrapper: tests/resilience.py starts the hook as a program, and Windows
|
||||
rem cannot execute a .sh file directly. Runs the same scripts\stop-one.sh with Git Bash;
|
||||
rem TARGET_INSTANCE_ID and STOP_MODE are inherited from the environment.
|
||||
rem python tests/resilience.py --mode failover --action-script scripts/stop-one.cmd
|
||||
"%ProgramFiles%\Git\bin\bash.exe" "%~dp0stop-one.sh"
|
||||
exit /b %ERRORLEVEL%
|
||||
Reference in New Issue
Block a user