Реализация лабораторной 2: PostgreSQL, сессии, Valkey-кэш
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Tmribob
2026-10-30 19:37:21 +03:00
parent 65003b6119
commit 3df9b09896
44 changed files with 3519 additions and 17 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
# Start the dedicated short-TTL stand, run the expiry tests, always tear it down.
set -eu
cd "$(dirname "$0")/.."
PORT="${TTL_PORT:-8081}"
status=0
sh scripts/ttl-stack.sh start
cd student-tests
BASE_URL="http://127.0.0.1:$PORT" "${PYTHON:-python}" -B -m unittest -v test_expiry || status=$?
cd ..
sh scripts/ttl-stack.sh stop
exit "$status"