mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Update timeout for e2e testing (#12349)
Signed-off-by: Jenny Li <jing.li@zilliz.com>
This commit is contained in:
parent
bd66af69eb
commit
cdd67deeaf
@ -52,7 +52,10 @@ mkdir -p ${CI_LOG_PATH}
|
||||
fi
|
||||
trace "prepare e2e test" install_pytest_requirements
|
||||
|
||||
pytest --host ${MILVUS_SERVICE_NAME} --port ${MILVUS_SERVICE_PORT} \
|
||||
--html=${CI_LOG_PATH}/report.html --self-contained-html ${@:-}
|
||||
trace "e2e test" "timeout" "${TEST_TIMEOUT:-}" `pytest --host ${MILVUS_SERVICE_NAME} --port ${MILVUS_SERVICE_PORT} \
|
||||
--html=${CI_LOG_PATH}/report.html --self-contained-html ${@:-}`
|
||||
if [[ -n "${TEST_TIMEOUT:-}" ]]; then
|
||||
timeout "${TEST_TIMEOUT}" pytest --host ${MILVUS_SERVICE_NAME} --port ${MILVUS_SERVICE_PORT} \
|
||||
--html=${CI_LOG_PATH}/report.html --self-contained-html ${@:-}
|
||||
else
|
||||
pytest --host ${MILVUS_SERVICE_NAME} --port ${MILVUS_SERVICE_PORT} \
|
||||
--html=${CI_LOG_PATH}/report.html --self-contained-html ${@:-}
|
||||
fi
|
||||
Loading…
x
Reference in New Issue
Block a user