forked from mtusi2026/mtusi2026lab2
lab2 - оценка 4
This commit is contained in:
+3
-3
@@ -1,9 +1,9 @@
|
||||
@echo off
|
||||
cd /d "%~dp0.."
|
||||
echo [expiry] starting api with SESSION_TTL_SECONDS=2
|
||||
set SESSION_TTL_SECONDS=2
|
||||
echo [expiry] starting api with SESSION_TTL_SECONDS=3
|
||||
set SESSION_TTL_SECONDS=3
|
||||
docker compose up -d api
|
||||
timeout /t 10 /nobreak >nul
|
||||
timeout /t 12 /nobreak >nul
|
||||
python student-tests\expiry_checks.py --base-url http://localhost:8080
|
||||
set SESSION_TTL_SECONDS=
|
||||
echo [expiry] restoring default TTL
|
||||
|
||||
Reference in New Issue
Block a user