Перенести решение лабораторной 2 как основу для лабораторной 3

This commit is contained in:
2026-11-02 10:00:11 +03:00
parent 0ab3a341aa
commit 5b9f377783
76 changed files with 7008 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#!/bin/sh
# Restart hook of `make test-persistence` (tests/resilience.py): stops the
# API, PostgreSQL and Valkey gracefully and starts the same containers again.
# Volumes and data are kept and nothing is re-seeded. The test hides the
# output, so failures surface through the exit code only.
set -eu
cd "$(dirname "$0")/.."
docker compose stop
docker compose up -d --wait