Improve e2e test logs ()

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
pull/6910/head
quicksilver 2021-07-30 11:41:22 +08:00 committed by GitHub
parent 7307332fab
commit ac50c5dd89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
tests/scripts

View File

@ -24,7 +24,7 @@ MILVUS_INSTALL_TIMEOUT="${MILVUS_INSTALL_TIMEOUT:-300s}"
# Delete any previous Milvus cluster # Delete any previous Milvus cluster
echo "Deleting previous Milvus cluster with name=${MILVUS_HELM_RELEASE_NAME}" echo "Deleting previous Milvus cluster with name=${MILVUS_HELM_RELEASE_NAME}"
if ! (helm uninstall -n "${MILVUS_HELM_NAMESPACE}" "${MILVUS_HELM_RELEASE_NAME}") > /dev/null; then if ! (helm uninstall -n "${MILVUS_HELM_NAMESPACE}" "${MILVUS_HELM_RELEASE_NAME}" > /dev/null 2>&1); then
echo "No existing Milvus cluster with name ${MILVUS_HELM_RELEASE_NAME}. Continue..." echo "No existing Milvus cluster with name ${MILVUS_HELM_RELEASE_NAME}. Continue..."
else else
MILVUS_LABELS="app.kubernetes.io/instance=${MILVUS_HELM_RELEASE_NAME}" MILVUS_LABELS="app.kubernetes.io/instance=${MILVUS_HELM_RELEASE_NAME}"
@ -44,7 +44,7 @@ if [[ ! -d "${MILVUS_HELM_CHART_PATH:-}" ]]; then
MILVUS_HELM_CHART_PATH="${TMP_DIR}/charts/milvus" MILVUS_HELM_CHART_PATH="${TMP_DIR}/charts/milvus"
fi fi
kubectl create namespace "${MILVUS_HELM_NAMESPACE}" || true kubectl create namespace "${MILVUS_HELM_NAMESPACE}" > /dev/null 2>&1 || true
helm install --wait --timeout "${MILVUS_INSTALL_TIMEOUT}" \ helm install --wait --timeout "${MILVUS_INSTALL_TIMEOUT}" \
--set image.all.repository="${MILVUS_IMAGE_REPO}" \ --set image.all.repository="${MILVUS_IMAGE_REPO}" \