diff --git a/ci/jenkins/Jenkinsfile b/ci/jenkins/Jenkinsfile index 2143c8e7b7565402f867039c67f98cb1ec5eb6f1..fa715c2e6e86abaf26be0bffb53693a81b4c7617 100644 --- a/ci/jenkins/Jenkinsfile +++ b/ci/jenkins/Jenkinsfile @@ -1,7 +1,7 @@ #!/usr/bin/env groovy String cron_timezone = "TZ=Asia/Shanghai" -String cron_string = BRANCH_NAME == "0.10.0" ? "50 22 * * * " : "" +String cron_string = BRANCH_NAME == "master" ? "50 22 * * * " : "" pipeline { agent none diff --git a/tests/milvus_python_test/entity/test_get_entity_by_id.py b/tests/milvus_python_test/entity/test_get_entity_by_id.py index ae0e67a86ea0c28076a1e1d5d1d95298d2e01403..16b6f15a112710780b0fcae2c4b87b7068bb39ec 100644 --- a/tests/milvus_python_test/entity/test_get_entity_by_id.py +++ b/tests/milvus_python_test/entity/test_get_entity_by_id.py @@ -58,12 +58,15 @@ class TestGetBase: for i in range(length): assert_equal_vector(res[i], vectors[i]) - def test_get_vector_C_limit(self, connect, collection): + def test_get_vector_C_limit(self, connect, collection, args): ''' target: test.get_entity_by_id method: add vector, and get, limit > 1000 expected: status ok, vector returned ''' + if args["handler"] == "HTTP": + pytest.skip("skip in http mode") + vectors = gen_vectors(nb, dim) status, ids = connect.insert(collection, vectors) assert status.OK() diff --git a/tests/milvus_python_test/entity/test_insert.py b/tests/milvus_python_test/entity/test_insert.py index 3bfff249f4f3d1e72a65f672180f277ca6e281e4..f860450065e84012883fe5dddd0e339e545320b8 100644 --- a/tests/milvus_python_test/entity/test_insert.py +++ b/tests/milvus_python_test/entity/test_insert.py @@ -582,7 +582,6 @@ class TestAddBase: @pytest.mark.level(2) @pytest.mark.timeout(30) - @pytest.mark.repeat(2) def test_collection_add_rows_count_multi_threading(self, args, collection): ''' target: test collection rows_count is correct or not with multi threading diff --git a/tests/milvus_python_test/test_compact.py b/tests/milvus_python_test/test_compact.py index 9b54f6428a6b2232001b16ca63cffe486f98e85e..ffdd6554dd2d2115af8bf4b6b014006cd7aeb6a2 100644 --- a/tests/milvus_python_test/test_compact.py +++ b/tests/milvus_python_test/test_compact.py @@ -378,7 +378,6 @@ class TestCompactBase: assert status.OK() @pytest.mark.timeout(COMPACT_TIMEOUT) - @pytest.mark.repeat(10) def test_index_creation_after_compact(self, connect, collection, get_simple_index): ''' target: test index creation after compact diff --git a/tests/milvus_python_test/test_partition.py b/tests/milvus_python_test/test_partition.py index b9ba5ac0c8558b29e00cab7e7b58df38b75f0f2d..4e1e7a29ab7bd2817df919643857ac2187d95f9a 100644 --- a/tests/milvus_python_test/test_partition.py +++ b/tests/milvus_python_test/test_partition.py @@ -34,13 +34,15 @@ class TestCreateBase: assert status.OK() @pytest.mark.level(3) - @pytest.mark.timeout(TIMEOUT) - def test_create_partition_limit(self, connect, collection): + def test_create_partition_limit(self, connect, collection, args): ''' target: test create partitions, check status returned method: call function: create_partition for 4097 times expected: status not ok ''' + if args["handler"] == "HTTP": + pytest.skip("skip in http mode") + for i in range(4096): tag_tmp = gen_unique_str() status = connect.create_partition(collection, tag_tmp)