[CI] Add --workers=1 to keep test behavior consistent with default change

This commit is contained in:
YuBaoku
2026-04-20 22:31:42 +08:00
committed by GitHub
parent 30db3e9d8f
commit 5e866e3e21
+1 -1
View File
@@ -266,7 +266,7 @@ jobs:
curl -X POST http://0.0.0.0:${FLASK_PORT}/switch \
-H "Content-Type: application/json" \
-d "{ \"--model\": \"/MODELDATA/ERNIE-4.5-0.3B-Paddle\", \"--max-concurrency\": 5, \"--max-waiting-time\": 1 }"
-d "{ \"--model\": \"/MODELDATA/ERNIE-4.5-0.3B-Paddle\", \"--workers\": 1, \"--max-concurrency\": 5, \"--max-waiting-time\": 1 }"
check_service 90
python -m pytest -sv test_max_concurrency.py || TEST_EXIT_CODE=1