lab3-4 оценка

This commit is contained in:
2026-10-21 13:31:36 +03:00
parent 0ab3a341aa
commit 093602c18b
38 changed files with 3483 additions and 41 deletions
+25
View File
@@ -0,0 +1,25 @@
@echo off
echo Setting UTF-8 mode for Python...
set PYTHONUTF8=1
echo.
echo Running smoke tests...
python tests/smoke.py --base-url http://localhost:8080
if %errorlevel% neq 0 (
echo Smoke tests FAILED!
pause
exit /b %errorlevel%
)
echo.
echo Running resilience (failover) tests...
python tests/resilience.py --base-url http://localhost:8080 --mode failover --action-script scripts/stop-one.bat
if %errorlevel% neq 0 (
echo Resilience tests FAILED!
pause
exit /b %errorlevel%
)
echo.
echo ALL TESTS PASSED!
pause