[skip e2e]Update step of deploy test (#15158)

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
pull/15159/head
zhuwenxing 2022-01-11 16:55:36 +08:00 committed by GitHub
parent af8f8f7bc7
commit 21e1c8927a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -146,7 +146,7 @@ def load_and_search(prefix):
# define output_fields of search result
res = c.search(
vectors[:1], "float_vector", search_params, topK,
"count > 500", output_fields=["count", "random_value"], timeout=60
"count > 500", output_fields=["count", "random_value"], timeout=120
)
end_time = time.time()
# show result

View File

@ -51,6 +51,7 @@ function error_exit {
then
mkdir logs
fi
docker-compose ps
docker-compose logs > ./logs/${Deploy_Dir}-${Task}-${current}.log 2>&1
echo "log saved to $(pwd)/logs/${Deploy_Dir}-${Task}-${current}.log"
popd
@ -187,10 +188,12 @@ fi
cat docker-compose.yml|grep milvusdb
docker-compose up -d
check_healthy
# sleep 60s # Todo use `curl http://localhost:9091/healthz` to check health
docker-compose ps
popd
# wait for milvus ready
sleep 120
# test for second deployment
printf "test for second deployment\n"
if [ "$Task" == "reinstall" ];