From 75db0d1ae2e1d5455dcef83dae2e5d7b20fc2885 Mon Sep 17 00:00:00 2001 From: YuBaoku <49938469+EmmonsCurse@users.noreply.github.com> Date: Tue, 26 Aug 2025 14:23:38 +0800 Subject: [PATCH] [CI] reopen sot test (#3613) * [CI] change check_service time to 360s * [CI] disable sot test temporarily * [CI] reopen sot test --- .github/workflows/_base_test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/_base_test.yml b/.github/workflows/_base_test.yml index 31c900c1e..6672d1260 100644 --- a/.github/workflows/_base_test.yml +++ b/.github/workflows/_base_test.yml @@ -197,6 +197,13 @@ jobs: export TEMPLATE=TOKEN_NORMAL 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 360 + export TEMPLATE=TOKEN_NORMAL + python -m pytest -sv test_seed_usage.py -k "not test_seed_stream" || TEST_EXIT_CODE=1 + popd echo "TEST_EXIT_CODE=${TEST_EXIT_CODE}" >> /workspace/FastDeploy/exit_code.env '