Files
mtusi2026lab6/evidence/failover.txt
T

18 lines
903 B
Plaintext

# make test-failover: stop-one.sh останавливает реплику, обслужившую тест
# date: 2026-11-20T13:47:23Z
# commit: 5f870e4
## до
/messenger-lab6-api-1 id=5eb61d3915d1 created exit=0 finished=0001-01-01T00:00:00Z
/messenger-lab6-api-2 id=b4948f100e42 created exit=0 finished=0001-01-01T00:00:00Z
$ make test-failover ACTION_SCRIPT=scripts/stop-one.sh
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://lb:8080"
FAIL: GET /health/live: connection/TLS failure (URLError)
make: *** [Makefile:30: test-failover] Error 1
EXIT CODE 2
## после: остановленная реплика Exited (0) — штатное завершение по SIGTERM
/messenger-lab6-api-1 id=5eb61d3915d1 created exit=0 finished=0001-01-01T00:00:00Z
/messenger-lab6-api-2 id=b4948f100e42 created exit=0 finished=0001-01-01T00:00:00Z