Remove timeout for nightly build (#14475)

Signed-off-by: Jenny Li <jing.li@zilliz.com>
This commit is contained in:
Jenny Li 2021-12-29 11:52:48 +08:00 committed by GitHub
parent 62b5d11572
commit d5c2b6bde9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -151,8 +151,7 @@ pipeline {
MILVUS_HELM_RELEASE_NAME="${release_name}" \
MILVUS_CLUSTER_ENABLED="${clusterEnabled}" \
TEST_TIMEOUT="${e2e_timeout_seconds}" \
CASE_TIMEOUT="${case_timeout_seconds}"\
./ci_e2e.sh "-n 6 -x --tags L0 L1"
./ci_e2e.sh "-n 6 -x --tags L0 L1 --timeout ${case_timeout_seconds}"
"""
} else {
error "Error: Unsupported Milvus client: ${MILVUS_CLIENT}"

View File

@ -62,12 +62,12 @@ if [ ! -d "${CI_LOG_PATH}" ]; then
fi
trace "prepare e2e test" install_pytest_requirements
CASE_TIMEOUT=${CASE_TIMEOUT:-600}
if [[ -n "${TEST_TIMEOUT:-}" ]]; then
timeout "${TEST_TIMEOUT}" pytest --host ${MILVUS_SERVICE_NAME} --port ${MILVUS_SERVICE_PORT} \
--timeout ${CASE_TIMEOUT} --html=${CI_LOG_PATH}/report.html --self-contained-html ${@:-}
--html=${CI_LOG_PATH}/report.html --self-contained-html ${@:-}
else
pytest --host ${MILVUS_SERVICE_NAME} --port ${MILVUS_SERVICE_PORT} \
--timeout ${CASE_TIMEOUT} --html=${CI_LOG_PATH}/report.html --self-contained-html ${@:-}
--html=${CI_LOG_PATH}/report.html --self-contained-html ${@:-}
fi