[skip ci] fix pr test slow issue (#12739)

Signed-off-by: Jenny Li <jing.li@zilliz.com>
This commit is contained in:
Jenny Li 2021-12-04 09:25:33 +08:00 committed by GitHub
parent b009b39557
commit 1b1911791e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -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 {

View File

@ -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

View File

@ -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