Complete Lab 4 attachment service
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
# Результаты persistence и failover
|
||||
|
||||
Сводка составлена по выводу WSL, предоставленному автором. Hooks запущены через цели Makefile репозитория.
|
||||
|
||||
## Persistence: перезапуск хранилищ
|
||||
|
||||
Commande :
|
||||
|
||||
```sh
|
||||
make test-persistence ACTION_SCRIPT=scripts/restart.sh BASE_URL=http://localhost:8080
|
||||
```
|
||||
|
||||
Результат: `PASS: persistence preserved confirmed data and existing session.`
|
||||
|
||||
## Failover одной API-реплики
|
||||
|
||||
Commande :
|
||||
|
||||
```sh
|
||||
make test-failover ACTION_SCRIPT=scripts/stop-one.sh BASE_URL=http://localhost:8080
|
||||
```
|
||||
|
||||
Résumé JSON affiché par le test :
|
||||
|
||||
```json
|
||||
{"observed_instances_before":2,"successful_writes":84,"failed_attempts":0,"first_recovery_seconds":1.578}
|
||||
```
|
||||
|
||||
Результат: `PASS: failover preserved confirmed data and existing session.`
|
||||
|
||||
## Восстановление после теста
|
||||
|
||||
Commande : `bash scripts/recover-api.sh`
|
||||
|
||||
Результат: `PASS: two API replicas are healthy through the load balancer.`
|
||||
|
||||
Тест также вывел `Hook scope needs operator evidence`. Эта сводка фиксирует результат тестового сценария, сообщённый автором; она не является независимым подтверждением состояния Docker.
|
||||
Reference in New Issue
Block a user