mirror of https://github.com/milvus-io/milvus.git
update sdk-python source (#4972)
* update sdk-python source Signed-off-by: zhenwu <zhenwu@milvus.io>pull/4993/head^2
parent
30f889ae1b
commit
83c7891a70
|
@ -27,6 +27,7 @@ timeout(time: 180, unit: 'MINUTES') {
|
|||
dir ("tests/milvus_python_test") {
|
||||
// sh 'python3 -m pip install -r requirements.txt -i http://pypi.douban.com/simple --trusted-host pypi.douban.com'
|
||||
sh 'python3 -m pip install -r requirements.txt'
|
||||
sh "python3 -m pip install --index-url https://test.pypi.org/simple/ pymilvus"
|
||||
sh "pytest . --level=2 --alluredir=\"test_out/dev/single/mysql\" --ip ${env.HELM_RELEASE_NAME}.milvus.svc.cluster.local >> ${WORKSPACE}/${env.DEV_TEST_ARTIFACTS}/milvus_${BINARY_VERSION}_mysql_dev_test.log"
|
||||
}
|
||||
// sqlite database backend test
|
||||
|
|
|
@ -26,6 +26,7 @@ timeout(time: 120, unit: 'MINUTES') {
|
|||
dir ("tests/milvus_python_test") {
|
||||
// sh 'python3 -m pip install -r requirements.txt -i http://pypi.douban.com/simple --trusted-host pypi.douban.com'
|
||||
sh 'python3 -m pip install -r requirements.txt'
|
||||
sh "python3 -m pip install --index-url https://test.pypi.org/simple/ pymilvus"
|
||||
sh "pytest . --alluredir=\"test_out/dev/single/mysql\" --level=1 --ip ${env.HELM_RELEASE_NAME}.milvus.svc.cluster.local --service ${env.HELM_RELEASE_NAME} >> ${WORKSPACE}/${env.DEV_TEST_ARTIFACTS}/milvus_${BINARY_VERSION}_mysql_dev_test.log"
|
||||
// sh "pytest test_restart.py --alluredir=\"test_out/dev/single/mysql\" --level=3 --ip ${env.HELM_RELEASE_NAME}.milvus.svc.cluster.local --service ${env.HELM_RELEASE_NAME}"
|
||||
}
|
||||
|
|
|
@ -8,5 +8,10 @@ pytest-print==0.1.2
|
|||
pytest-level==0.1.1
|
||||
pytest-xdist==1.23.2
|
||||
scikit-learn>=0.19.1
|
||||
pymilvus-test>=0.3.0,<0.4.0
|
||||
# pymilvus-test>=0.3.0,<0.4.0
|
||||
kubernetes==10.0.1
|
||||
|
||||
grpcio>=1.22.0
|
||||
grpcio-tools>=1.22.0
|
||||
requests>=2.22.0
|
||||
ujson>=2.0.0
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import logging
|
||||
import pytest
|
||||
|
||||
__version__ = '1.0.0'
|
||||
__version__ = '1.1.0'
|
||||
|
||||
|
||||
class TestPing:
|
||||
|
|
Loading…
Reference in New Issue