提交 b91696c6 编写于 作者: T ThreadDao 提交者: yefu.chen

Add pytest reruns

Signed-off-by: NThreadDao <yufen.zong@zilliz.com>
上级 aa5ecbdc
......@@ -12,7 +12,7 @@ services:
- ../../..:/milvus-distributed:delegated
working_dir: "/milvus-distributed/tests/python_test"
command: >
/bin/bash -c "sleep 10s && pytest --tags=0331 --ip proxynode"
/bin/bash -c "sleep 10s && pytest --tags=0331 --reruns=1 -n 4 --ip proxynode"
networks:
- milvus
......@@ -27,7 +27,7 @@ services:
- ../../..:/milvus-distributed:delegated
working_dir: "/milvus-distributed/tests/python_test"
command: >
/bin/bash -c "sleep 10s && pytest --tags=0331 --ip standalone"
/bin/bash -c "sleep 10s && pytest --tags=0331 --reruns=1 -n 4 --ip standalone"
networks:
- milvus
......
......@@ -4,11 +4,12 @@ numpy==1.18.1
pytest-cov==2.8.1
pymilvus-distributed==0.0.39
sklearn==0.0
pytest==4.5.0
pytest==6.2.2
pytest-timeout==1.3.3
pytest-repeat==0.8.0
allure-pytest==2.7.0
pytest-print==0.1.2
pytest-level==0.1.1
pytest-xdist==1.23.2
pytest-xdist==2.2.1
pytest-rerunfailures==9.1.1
git+https://gitee.com/quicksilver/pytest-tags.git
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册