[skip e2e] Update comment in ci_e2e.sh (#14570)

Signed-off-by: Jenny Li <jing.li@zilliz.com>
This commit is contained in:
Jenny Li 2021-12-30 14:19:18 +08:00 committed by GitHub
parent bdbeac2204
commit c1a38559d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,28 +36,28 @@ MILVUS_CLUSTER_ENABLED="${MILVUS_CLUSTER_ENABLED:-false}"
MILVUS_HELM_NAMESPACE="${MILVUS_HELM_NAMESPACE:-default}"
PARALLEL_NUM="${PARALLEL_NUM:-6}"
MILVUS_CLIENT="${MILVUS_CLIENT:-pymilvus}"
# use service name instead of IP to test
# Use service name instead of IP to test
MILVUS_SERVICE_NAME=$(echo "${MILVUS_HELM_RELEASE_NAME}-milvus.milvus-ci" | tr -d '\n')
MILVUS_SERVICE_PORT="19530"
# shellcheck source=build/lib.sh
# Shellcheck source=build/lib.sh
source "${ROOT}/build/lib.sh"
# shellcheck source=ci-util.sh
# Shellcheck source=ci-util.sh
source "${ROOT}/tests/scripts/ci-util.sh"
cd ${ROOT}/tests/python_client
# print python3 version, python version 3.6.8 is more stable for test
# Print python3 version, python version 3.6.8 is more stable for test
python3 -V
# pytest will try to get ${CI_LOG_PATH} from environment variables first,then use default path
# Pytest will try to get ${CI_LOG_PATH} from environment variables first,then use default path
export CI_LOG_PATH=/tmp/ci_logs/test
if [ ! -d "${CI_LOG_PATH}" ]; then
# create dir for ci log path when it does not exist
# Create dir for ci log path when it does not exist
mkdir -p ${CI_LOG_PATH}
fi
trace "prepare e2e test" install_pytest_requirements
@ -65,6 +65,7 @@ trace "prepare e2e test" install_pytest_requirements
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