mirror of https://github.com/milvus-io/milvus.git
Update tests timeout
Former-commit-id: 15c28be882db3cc2fda3bc1520b277c144c44558pull/191/head
parent
c01107e2c7
commit
82a271943c
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue