From 4ba56716f9c737b9abcad1cf51610d7c54c1efb6 Mon Sep 17 00:00:00 2001 From: Yikun Jiang Date: Fri, 19 Sep 2025 20:26:00 +0800 Subject: [PATCH] Increase doctest timeout to 300s and time print (#3041) ### What this PR does / why we need it? Increase doctest timeout to 300s and time print, according to time print in https://github.com/vllm-project/vllm-ascend/pull/3045 , most of time consumed in `Graph capturing`, so I think it's fine to increase doctest timeout This PR also add time log for each task. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? - Run `/vllm-workspace/vllm-ascend/tests/e2e/run_doctests.sh` - CI passed - vLLM version: v0.10.2 - vLLM main: https://github.com/vllm-project/vllm/commit/a684c0124cb8ac04984b6fd621d99e1463016eac Closes: https://github.com/vllm-project/vllm-ascend/issues/3045 Signed-off-by: Yikun Jiang --- tests/e2e/common.sh | 2 +- tests/e2e/doctests/001-quickstart-test.sh | 6 +++--- tests/e2e/doctests/002-pip-binary-installation-test.sh | 2 +- tests/e2e/run_doctests.sh | 1 - 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/e2e/common.sh b/tests/e2e/common.sh index 3c61524..bb99b38 100644 --- a/tests/e2e/common.sh +++ b/tests/e2e/common.sh @@ -14,7 +14,7 @@ _err() { _red "Error: $*" && exit 1; } CURL_TIMEOUT=1 CURL_COOLDOWN=5 -CURL_MAX_TRIES=180 +CURL_MAX_TRIES=300 function wait_url_ready() { local serve_name="$1" diff --git a/tests/e2e/doctests/001-quickstart-test.sh b/tests/e2e/doctests/001-quickstart-test.sh index 6490908..43366ae 100755 --- a/tests/e2e/doctests/001-quickstart-test.sh +++ b/tests/e2e/doctests/001-quickstart-test.sh @@ -57,8 +57,8 @@ function quickstart_online_test() { } _info "====> Start simple_test" -simple_test +time simple_test _info "====> Start quickstart_offline_test" -quickstart_offline_test +time quickstart_offline_test _info "====> Start quickstart_online_test" -quickstart_online_test +time quickstart_online_test diff --git a/tests/e2e/doctests/002-pip-binary-installation-test.sh b/tests/e2e/doctests/002-pip-binary-installation-test.sh index a763cef..525f348 100644 --- a/tests/e2e/doctests/002-pip-binary-installation-test.sh +++ b/tests/e2e/doctests/002-pip-binary-installation-test.sh @@ -59,4 +59,4 @@ function install_binary_test() { } _info "====> Start install_binary_test" -install_binary_test +time install_binary_test diff --git a/tests/e2e/run_doctests.sh b/tests/e2e/run_doctests.sh index 2b00b64..70e2dad 100755 --- a/tests/e2e/run_doctests.sh +++ b/tests/e2e/run_doctests.sh @@ -22,7 +22,6 @@ set -eo errexit . $(dirname "$0")/common.sh export VLLM_USE_MODELSCOPE=true -export VLLM_LOGGING_LEVEL=ERROR _info "====> Start Quickstart test" . "${SCRIPT_DIR}/doctests/001-quickstart-test.sh"