Loading tests/milvus_python_test/test_delete_vectors.py +2 −2 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ class TestDeleteVectorsBase: params=gen_index_params() ) def get_index_params(self, request, args): if "internal" in args: if "internal" not in args: if request.param["index_type"] == IndexType.IVF_SQ8H: pytest.skip("sq8h not support in open source") return request.param Loading Loading @@ -295,7 +295,7 @@ class TestDeleteVectorsIP: params=gen_index_params() ) def get_index_params(self, request, args): if "internal" in args: if "internal" not in args: if request.param["index_type"] == IndexType.IVF_SQ8H: pytest.skip("sq8h not support in open source") return request.param Loading tests/milvus_python_test/test_index.py +2 −2 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ class TestIndexBase: params=gen_index_params() ) def get_index_params(self, request, args): if "internal" in args: if "internal" not in args: if request.param["index_type"] == IndexType.IVF_SQ8H: pytest.skip("sq8h not support in open source") return request.param Loading Loading @@ -505,7 +505,7 @@ class TestIndexIP: params=gen_index_params() ) def get_index_params(self, request, args): if "internal" in args: if "internal" not in args: if request.param["index_type"] == IndexType.IVF_SQ8H: pytest.skip("sq8h not support in open source") return request.param Loading tests/milvus_python_test/test_search_vectors.py +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ class TestSearchBase: params=gen_index_params() ) def get_index_params(self, request, args): if "internal" in args: if "internal" not in args: if request.param["index_type"] == IndexType.IVF_SQ8H: pytest.skip("sq8h not support in open source") return request.param Loading tests/milvus_python_test/test_table.py +5 −2 Original line number Diff line number Diff line Loading @@ -590,8 +590,11 @@ class TestTable: scope="function", params=gen_index_params() ) def get_index_params(self, request): yield request.param def get_index_params(self, request, args): if "internal" not in args: if request.param["index_type"] == IndexType.IVF_SQ8H: pytest.skip("sq8h not support in open source") return request.param @pytest.mark.level(1) def test_preload_table(self, connect, table, get_index_params): Loading tests/milvus_python_test/test_table_count.py +2 −2 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ class TestTableCount: params=gen_index_params() ) def get_index_params(self, request, args): if "internal" in args: if "internal" not in args: if request.param["index_type"] == IndexType.IVF_SQ8H: pytest.skip("sq8h not support in open source") return request.param Loading Loading @@ -183,7 +183,7 @@ class TestTableCountIP: params=gen_index_params() ) def get_index_params(self, request, args): if "internal" in args: if "internal" not in args: if request.param["index_type"] == IndexType.IVF_SQ8H: pytest.skip("sq8h not support in open source") return request.param Loading Loading
tests/milvus_python_test/test_delete_vectors.py +2 −2 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ class TestDeleteVectorsBase: params=gen_index_params() ) def get_index_params(self, request, args): if "internal" in args: if "internal" not in args: if request.param["index_type"] == IndexType.IVF_SQ8H: pytest.skip("sq8h not support in open source") return request.param Loading Loading @@ -295,7 +295,7 @@ class TestDeleteVectorsIP: params=gen_index_params() ) def get_index_params(self, request, args): if "internal" in args: if "internal" not in args: if request.param["index_type"] == IndexType.IVF_SQ8H: pytest.skip("sq8h not support in open source") return request.param Loading
tests/milvus_python_test/test_index.py +2 −2 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ class TestIndexBase: params=gen_index_params() ) def get_index_params(self, request, args): if "internal" in args: if "internal" not in args: if request.param["index_type"] == IndexType.IVF_SQ8H: pytest.skip("sq8h not support in open source") return request.param Loading Loading @@ -505,7 +505,7 @@ class TestIndexIP: params=gen_index_params() ) def get_index_params(self, request, args): if "internal" in args: if "internal" not in args: if request.param["index_type"] == IndexType.IVF_SQ8H: pytest.skip("sq8h not support in open source") return request.param Loading
tests/milvus_python_test/test_search_vectors.py +1 −1 Original line number Diff line number Diff line Loading @@ -44,7 +44,7 @@ class TestSearchBase: params=gen_index_params() ) def get_index_params(self, request, args): if "internal" in args: if "internal" not in args: if request.param["index_type"] == IndexType.IVF_SQ8H: pytest.skip("sq8h not support in open source") return request.param Loading
tests/milvus_python_test/test_table.py +5 −2 Original line number Diff line number Diff line Loading @@ -590,8 +590,11 @@ class TestTable: scope="function", params=gen_index_params() ) def get_index_params(self, request): yield request.param def get_index_params(self, request, args): if "internal" not in args: if request.param["index_type"] == IndexType.IVF_SQ8H: pytest.skip("sq8h not support in open source") return request.param @pytest.mark.level(1) def test_preload_table(self, connect, table, get_index_params): Loading
tests/milvus_python_test/test_table_count.py +2 −2 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ class TestTableCount: params=gen_index_params() ) def get_index_params(self, request, args): if "internal" in args: if "internal" not in args: if request.param["index_type"] == IndexType.IVF_SQ8H: pytest.skip("sq8h not support in open source") return request.param Loading Loading @@ -183,7 +183,7 @@ class TestTableCountIP: params=gen_index_params() ) def get_index_params(self, request, args): if "internal" in args: if "internal" not in args: if request.param["index_type"] == IndexType.IVF_SQ8H: pytest.skip("sq8h not support in open source") return request.param Loading