diff --git a/tests/milvus_python_test/test_add_vectors.py b/tests/milvus_python_test/test_add_vectors.py index 6307418d09..ec00f487b3 100644 --- a/tests/milvus_python_test/test_add_vectors.py +++ b/tests/milvus_python_test/test_add_vectors.py @@ -678,6 +678,11 @@ class TestAddBase: assert status.OK() class TestAddAsync: + @pytest.fixture(scope="function", autouse=True) + def skip_http_check(self, args): + if args["handler"] == "HTTP": + pytest.skip("skip in http mode") + @pytest.fixture( scope="function", params=[ diff --git a/tests/milvus_python_test/test_flush.py b/tests/milvus_python_test/test_flush.py index c32b9ad397..5bc257a822 100644 --- a/tests/milvus_python_test/test_flush.py +++ b/tests/milvus_python_test/test_flush.py @@ -234,6 +234,11 @@ class TestFlushBase: class TestFlushAsync: + @pytest.fixture(scope="function", autouse=True) + def skip_http_check(self, args): + if args["handler"] == "HTTP": + pytest.skip("skip in http mode") + """ ****************************************************************** The following cases are used to test `flush` function diff --git a/tests/milvus_python_test/test_index.py b/tests/milvus_python_test/test_index.py index 3949f38a4d..73f966b467 100644 --- a/tests/milvus_python_test/test_index.py +++ b/tests/milvus_python_test/test_index.py @@ -1808,6 +1808,11 @@ class TestCreateIndexParamsInvalid(object): assert result._index_type == IndexType.FLAT class TestIndexAsync: + @pytest.fixture(scope="function", autouse=True) + def skip_http_check(self, args): + if args["handler"] == "HTTP": + pytest.skip("skip in http mode") + """ ****************************************************************** The following cases are used to test `create_index` function diff --git a/tests/milvus_python_test/test_ping.py b/tests/milvus_python_test/test_ping.py index f1addb7ef1..92ab12c868 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.8.0' +__version__ = '0.9.0' class TestPing: