Fix '\n' not trimed in e2e restful test (#17810)

Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
pull/17821/head
shaoyue 2022-06-27 11:48:16 +08:00 committed by GitHub
parent 9d2e5aacbc
commit b097b99872
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,9 @@ DATA_PATH="${ROOT}/tests/scripts/restful-data/"
MILVUS_CLUSTER_ENABLED="${MILVUS_CLUSTER_ENABLED:-false}"
MILVUS_SERVICE_ADDRESS="${MILVUS_HELM_RELEASE_NAME}-milvus.${MILVUS_HELM_NAMESPACE}:9091"
MILVUS_SERVICE_NAME=$(echo "${MILVUS_HELM_RELEASE_NAME}-milvus.${MILVUS_HELM_NAMESPACE}" | tr -d '\n')
MILVUS_SERVICE_ADDRESS="${MILVUS_SERVICE_NAME}:9091"
# Create a collection
curl -X 'POST' \