diff --git a/tests/milvus_go_test/client_test.go b/tests/milvus_go_test/client_test.go index 9b57ff826ffdc8128c64e48e5c69e359795255d9..83d24aadc229d7a78029f840e743e20c337308d2 100644 --- a/tests/milvus_go_test/client_test.go +++ b/tests/milvus_go_test/client_test.go @@ -357,7 +357,7 @@ func TestCmd(t *testing.T) { } // test SetConfig and GetConfig - nodeName := "cache_config.cpu_cache_capacity" + nodeName := "cache.cache_size" nodeValue := "2" status, err = client.SetConfig(nodeName, nodeValue) if err != nil { 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) diff --git a/tests/milvus_python_test/test_ping.py b/tests/milvus_python_test/test_ping.py index 8a20af1a3b9138539f9519bc112d184a4ba4a859..c3d382efd92b985d48424188353c168372e464ea 100644 --- a/tests/milvus_python_test/test_ping.py +++ b/tests/milvus_python_test/test_ping.py @@ -1,7 +1,7 @@ import logging import pytest -__version__ = '0.9.0' +__version__ = '0.10.0' class TestPing: