mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Update step of deploy test (#15158)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>pull/15159/head
parent
af8f8f7bc7
commit
21e1c8927a
|
@ -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
|
||||
|
|
|
@ -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" ];
|
||||
|
|
Loading…
Reference in New Issue