tests/milvus_python_test/entity/test_bulk_insert.py 1 location
|
@@ 799-808 (lines=10) @@
|
| 796 |
|
****************************************************************** |
| 797 |
|
""" |
| 798 |
|
|
| 799 |
|
@pytest.fixture( |
| 800 |
|
scope="function", |
| 801 |
|
params=gen_simple_index() |
| 802 |
|
) |
| 803 |
|
def get_simple_index(self, request, connect): |
| 804 |
|
logging.getLogger().info(request.param) |
| 805 |
|
if str(connect._cmd("mode")) == "CPU": |
| 806 |
|
if request.param["index_type"] in index_cpu_not_support(): |
| 807 |
|
pytest.skip("sq8h not support in CPU mode") |
| 808 |
|
return request.param |
| 809 |
|
|
| 810 |
|
def test_insert_vector_multi_collections(self, connect): |
| 811 |
|
''' |
tests/milvus_python_test/collection/test_get_collection_info.py 1 location
|
@@ 33-42 (lines=10) @@
|
| 30 |
|
def get_segment_row_limit(self, request): |
| 31 |
|
yield request.param |
| 32 |
|
|
| 33 |
|
@pytest.fixture( |
| 34 |
|
scope="function", |
| 35 |
|
params=gen_simple_index() |
| 36 |
|
) |
| 37 |
|
def get_simple_index(self, request, connect): |
| 38 |
|
logging.getLogger().info(request.param) |
| 39 |
|
if str(connect._cmd("mode")) == "CPU": |
| 40 |
|
if request.param["index_type"] in index_cpu_not_support(): |
| 41 |
|
pytest.skip("sq8h not support in CPU mode") |
| 42 |
|
return request.param |
| 43 |
|
|
| 44 |
|
""" |
| 45 |
|
****************************************************************** |
tests/milvus_python_test/test_index.py 1 location
|
@@ 21-30 (lines=10) @@
|
| 18 |
|
|
| 19 |
|
|
| 20 |
|
class TestIndexBase: |
| 21 |
|
@pytest.fixture( |
| 22 |
|
scope="function", |
| 23 |
|
params=gen_simple_index() |
| 24 |
|
) |
| 25 |
|
def get_simple_index(self, request, connect): |
| 26 |
|
logging.getLogger().info(request.param) |
| 27 |
|
if str(connect._cmd("mode")) == "CPU": |
| 28 |
|
if request.param["index_type"] in index_cpu_not_support(): |
| 29 |
|
pytest.skip("sq8h not support in CPU mode") |
| 30 |
|
return request.param |
| 31 |
|
|
| 32 |
|
@pytest.fixture( |
| 33 |
|
scope="function", |