Скопировано из mtusi2026lab4 (ветка solution/bvt2302-bodanyuk, commit 17c33cd) через git archive: исходники, миграции, собственные тесты, Dockerfile, compose, конфигурации infra/, скрипты и bench/. README, COURSE, contracts/, tests/ и отчёт lab4 не копировались. Makefile и .env.example — версии lab4 (skeleton-часть совпадает с lab5, строки broker добавляются в следующих коммитах). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
8 lines
415 B
Batchfile
8 lines
415 B
Batchfile
@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%
|