готово

This commit is contained in:
2026-11-12 19:38:03 +03:00
parent ec540a1a72
commit f3ba37f736
142 changed files with 10257 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
set -eu
cd "$(dirname "$0")/.."
# Сохраняет обычный TTL и восстанавливает API даже при падении проверки.
restore() { docker compose up -d --wait --force-recreate api; }
trap restore EXIT
SESSION_TTL_SECONDS=2 docker compose up -d --wait --force-recreate api
"${PYTHON:-python3}" tests/expiry.py