未验证 提交 cdd67dee 编写于 作者: J Jenny Li 提交者: GitHub

[skip ci] Update timeout for e2e testing (#12349)

Signed-off-by: NJenny Li <jing.li@zilliz.com>
上级 bd66af69
...@@ -52,7 +52,10 @@ mkdir -p ${CI_LOG_PATH} ...@@ -52,7 +52,10 @@ mkdir -p ${CI_LOG_PATH}
fi fi
trace "prepare e2e test" install_pytest_requirements trace "prepare e2e test" install_pytest_requirements
pytest --host ${MILVUS_SERVICE_NAME} --port ${MILVUS_SERVICE_PORT} \ if [[ -n "${TEST_TIMEOUT:-}" ]]; then
--html=${CI_LOG_PATH}/report.html --self-contained-html ${@:-} timeout "${TEST_TIMEOUT}" pytest --host ${MILVUS_SERVICE_NAME} --port ${MILVUS_SERVICE_PORT} \
trace "e2e test" "timeout" "${TEST_TIMEOUT:-}" `pytest --host ${MILVUS_SERVICE_NAME} --port ${MILVUS_SERVICE_PORT} \ --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} \
--html=${CI_LOG_PATH}/report.html --self-contained-html ${@:-}
fi
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册