@echo off rem Failover hook for make test-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 ONE api replica from TARGET_INSTANCE_ID; the logic is in scripts\stop_one.py. python "%~dp0stop_one.py" exit /b %ERRORLEVEL%