Commit 82a27194 authored by zhenwu's avatar zhenwu
Browse files

Update tests timeout


Former-commit-id: 15c28be882db3cc2fda3bc1520b277c144c44558
parent c01107e2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
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"
+2 −0
Original line number Diff line number Diff line
@@ -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