Skip to content

Commit 38095d7

Browse files
Yikunmercykid
authored andcommitted
Increase doctest timeout to 300s and time print (vllm-project#3041)
### What this PR does / why we need it? Increase doctest timeout to 300s and time print, according to time print in vllm-project#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: vllm-project/vllm@a684c01 Closes: vllm-project#3045 Signed-off-by: Yikun Jiang <[email protected]> Signed-off-by: Che Ruan <[email protected]>
1 parent 2b18153 commit 38095d7

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

tests/e2e/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ _err() { _red "Error: $*" && exit 1; }
1414

1515
CURL_TIMEOUT=1
1616
CURL_COOLDOWN=5
17-
CURL_MAX_TRIES=180
17+
CURL_MAX_TRIES=300
1818

1919
function wait_url_ready() {
2020
local serve_name="$1"

tests/e2e/doctests/001-quickstart-test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ function quickstart_online_test() {
5757
}
5858

5959
_info "====> Start simple_test"
60-
simple_test
60+
time simple_test
6161
_info "====> Start quickstart_offline_test"
62-
quickstart_offline_test
62+
time quickstart_offline_test
6363
_info "====> Start quickstart_online_test"
64-
quickstart_online_test
64+
time quickstart_online_test

tests/e2e/doctests/002-pip-binary-installation-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ function install_binary_test() {
5959
}
6060

6161
_info "====> Start install_binary_test"
62-
install_binary_test
62+
time install_binary_test

tests/e2e/run_doctests.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ set -eo errexit
2222
. $(dirname "$0")/common.sh
2323

2424
export VLLM_USE_MODELSCOPE=true
25-
export VLLM_LOGGING_LEVEL=ERROR
2625

2726
_info "====> Start Quickstart test"
2827
. "${SCRIPT_DIR}/doctests/001-quickstart-test.sh"

0 commit comments

Comments
 (0)