11 lines
343 B
Batchfile
11 lines
343 B
Batchfile
@echo off
|
|
cd /d "%~dp0.."
|
|
echo [expiry] starting api with SESSION_TTL_SECONDS=2
|
|
set SESSION_TTL_SECONDS=2
|
|
docker compose up -d api
|
|
timeout /t 10 /nobreak >nul
|
|
python student-tests\expiry_checks.py --base-url http://localhost:8080
|
|
set SESSION_TTL_SECONDS=
|
|
echo [expiry] restoring default TTL
|
|
docker compose up -d api
|
|
timeout /t 10 /nobreak >nul |