mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
[skip ci] fix pr test slow issue (#12739)
Signed-off-by: Jenny Li <jing.li@zilliz.com>
This commit is contained in:
parent
b009b39557
commit
1b1911791e
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env groovy
|
||||
|
||||
int total_timeout_minutes = 120
|
||||
int e2e_timeout_seconds = 50 * 60
|
||||
int e2e_timeout_seconds = 70 * 60
|
||||
def imageTag=''
|
||||
|
||||
pipeline {
|
||||
|
@ -32,7 +32,7 @@ spec:
|
||||
name: build-cache
|
||||
subPath: docker-volume
|
||||
- name: pytest
|
||||
image: milvusdb/pytest:20211108-d14cf36
|
||||
image: milvusdb/pytest:20211123-f95ef22
|
||||
volumeMounts:
|
||||
- mountPath: /ci-logs
|
||||
name: ci-logs
|
||||
|
@ -60,9 +60,9 @@ fi
|
||||
trace "prepare e2e test" install_pytest_requirements
|
||||
|
||||
if [[ -n "${TEST_TIMEOUT:-}" ]]; then
|
||||
timeout "${TEST_TIMEOUT}" pytest --host ${MILVUS_SERVICE_NAME} --port ${MILVUS_SERVICE_PORT} \
|
||||
timeout "${TEST_TIMEOUT}" pytest -n ${PARALLEL_NUM} --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} \
|
||||
pytest -n ${PARALLEL_NUM} --host ${MILVUS_SERVICE_NAME} --port ${MILVUS_SERVICE_PORT} \
|
||||
--html=${CI_LOG_PATH}/report.html --self-contained-html ${@:-}
|
||||
fi
|
Loading…
Reference in New Issue
Block a user