mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-11-01 12:22:53 +08:00
[CI] temporarily disable sot test due to occasional timeout issue (#3586)
* [CI] change check_service time to 360s * [CI] disable sot test temporarily
This commit is contained in:
7
.github/workflows/_base_test.yml
vendored
7
.github/workflows/_base_test.yml
vendored
@@ -197,13 +197,6 @@ jobs:
|
|||||||
export TEMPLATE=TOKEN_NORMAL
|
export TEMPLATE=TOKEN_NORMAL
|
||||||
python -m pytest -sv test_seed_usage.py -k "not test_seed_stream" || TEST_EXIT_CODE=1
|
python -m pytest -sv test_seed_usage.py -k "not test_seed_stream" || TEST_EXIT_CODE=1
|
||||||
|
|
||||||
curl -X POST http://0.0.0.0:${FLASK_PORT}/switch \
|
|
||||||
-H "Content-Type: application/json" \
|
|
||||||
-d "{\"--model\": \"/MODELDATA/ernie-4_5-21b-a3b-bf16-paddle\", \"--config\": \"21b_sot.yaml\", \"--enable-logprob\": \"False\"}"
|
|
||||||
check_service 180
|
|
||||||
export TEMPLATE=TOKEN_NORMAL
|
|
||||||
python -m pytest -sv test_seed_usage.py -k "not test_seed_stream" || TEST_EXIT_CODE=1
|
|
||||||
|
|
||||||
popd
|
popd
|
||||||
echo "TEST_EXIT_CODE=${TEST_EXIT_CODE}" >> /workspace/FastDeploy/exit_code.env
|
echo "TEST_EXIT_CODE=${TEST_EXIT_CODE}" >> /workspace/FastDeploy/exit_code.env
|
||||||
'
|
'
|
||||||
|
|||||||
Reference in New Issue
Block a user