forked from mtusi2026/mtusi2026lab5
7 lines
330 B
Batchfile
7 lines
330 B
Batchfile
@echo off
|
|
rem Hook for tests/resilience.py --mode failover on Windows (same as scripts/stop-one.sh).
|
|
rem Python on Windows cannot start .sh files directly (WinError 193), a .cmd file works.
|
|
rem Stops only the api replica from TARGET_INSTANCE_ID, the logic is in scripts\stop_one.py.
|
|
python "%~dp0stop_one.py"
|
|
exit /b %ERRORLEVEL%
|