Skip to content

Commit 5e866e3

Browse files
authored
[CI] Add --workers=1 to keep test behavior consistent with default change
1 parent 30db3e9 commit 5e866e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/_base_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ jobs:
266266
267267
curl -X POST http://0.0.0.0:${FLASK_PORT}/switch \
268268
-H "Content-Type: application/json" \
269-
-d "{ \"--model\": \"/MODELDATA/ERNIE-4.5-0.3B-Paddle\", \"--max-concurrency\": 5, \"--max-waiting-time\": 1 }"
269+
-d "{ \"--model\": \"/MODELDATA/ERNIE-4.5-0.3B-Paddle\", \"--workers\": 1, \"--max-concurrency\": 5, \"--max-waiting-time\": 1 }"
270270
check_service 90
271271
python -m pytest -sv test_max_concurrency.py || TEST_EXIT_CODE=1
272272

0 commit comments

Comments
 (0)