mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
Modify according cases because load needs index now (#19860)
Signed-off-by: nico <cheng.yuan@zilliz.com> Signed-off-by: nico <cheng.yuan@zilliz.com>
This commit is contained in:
parent
05fbbf2e33
commit
7fd4710240
@ -918,6 +918,8 @@ class TestUtilityBase(TestcaseBase):
|
||||
collection_w = self.init_collection_wrap()
|
||||
collection_w.insert(cf.gen_default_dataframe_data())
|
||||
assert collection_w.num_entities == ct.default_nb
|
||||
default_index = {"index_type": "IVF_FLAT", "params": {"nlist": 128}, "metric_type": "L2"}
|
||||
collection_w.create_index("float_vector", default_index)
|
||||
collection_w.load(partition_names=[ct.default_partition_name], replica_number=2)
|
||||
res_collection, _ = self.utility_wrap.loading_progress(collection_w.name)
|
||||
assert res_collection == {loading_progress: '100%'}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user