Update tests timeout

Former-commit-id: 15c28be882db3cc2fda3bc1520b277c144c44558
pull/191/head
zhenwu 2019-10-24 16:05:14 +08:00
parent c01107e2c7
commit 82a271943c
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
timeout(time: 30, unit: 'MINUTES') {
timeout(time: 60, unit: 'MINUTES') {
dir ("tests/milvus_python_test") {
sh 'python3 -m pip install -r requirements.txt'
sh "pytest . --alluredir=\"test_out/dev/single/sqlite\" --level=1 --ip ${env.PIPELINE_NAME}-${env.BUILD_NUMBER}-single-gpu-milvus-gpu-engine.milvus.svc.cluster.local"

View File

@ -656,6 +656,7 @@ class TestTableInvalid(object):
def get_table_name(self, request):
yield request.param
@pytest.mark.level(2)
def test_create_table_with_invalid_tablename(self, connect, get_table_name):
table_name = get_table_name
param = {'table_name': table_name,
@ -691,6 +692,7 @@ class TestCreateTableDimInvalid(object):
def get_dim(self, request):
yield request.param
@pytest.mark.level(2)
@pytest.mark.timeout(5)
def test_create_table_with_invalid_dimension(self, connect, get_dim):
dimension = get_dim