Реализация лабораторной 2: PostgreSQL, сессии, Valkey-кэш
Skeleton contracts / contracts (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user