Loading tests/milvus_python_test/test_index.py +6 −6 Original line number Diff line number Diff line Loading @@ -636,9 +636,6 @@ class TestIndexIP: top_k = 5 status, result = connect.search_vectors(ip_table, top_k, nprobe, query_vecs) logging.getLogger().info(result) if index_params["index_type"] == IndexType.IVF_PQ: assert not status.OK() else: assert status.OK() assert len(result) == len(query_vecs) Loading Loading @@ -975,8 +972,11 @@ class TestIndexIP: expected: return code 0, and default index param ''' index_params = get_simple_index_params status, ids = connect.add_vectors(ip_table, vectors) # status, ids = connect.add_vectors(ip_table, vectors) status = connect.create_index(ip_table, index_params) if index_params["index_type"] == IndexType.IVF_PQ: assert not status.OK() else: assert status.OK() status, result = connect.describe_index(ip_table) logging.getLogger().info(result) Loading Loading
tests/milvus_python_test/test_index.py +6 −6 Original line number Diff line number Diff line Loading @@ -636,9 +636,6 @@ class TestIndexIP: top_k = 5 status, result = connect.search_vectors(ip_table, top_k, nprobe, query_vecs) logging.getLogger().info(result) if index_params["index_type"] == IndexType.IVF_PQ: assert not status.OK() else: assert status.OK() assert len(result) == len(query_vecs) Loading Loading @@ -975,8 +972,11 @@ class TestIndexIP: expected: return code 0, and default index param ''' index_params = get_simple_index_params status, ids = connect.add_vectors(ip_table, vectors) # status, ids = connect.add_vectors(ip_table, vectors) status = connect.create_index(ip_table, index_params) if index_params["index_type"] == IndexType.IVF_PQ: assert not status.OK() else: assert status.OK() status, result = connect.describe_index(ip_table) logging.getLogger().info(result) Loading