forked from mtusi2026/mtusi2026lab5
6 lines
240 B
Bash
6 lines
240 B
Bash
#!/bin/sh
|
|
# Hook for tests/resilience.py --mode failover (Linux/macOS): stops the api replica from TARGET_INSTANCE_ID.
|
|
# Logic is in scripts/stop_one.py, Windows uses scripts/stop-one.cmd.
|
|
set -eu
|
|
exec python3 "$(dirname "$0")/stop_one.py"
|