mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 11:29:48 +08:00
[test]Change steps of testcase (#20089)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com> Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
parent
27ebb766e7
commit
5378e03372
@ -1672,13 +1672,13 @@ class TestUtilityAdvanced(TestcaseBase):
|
||||
# init a collection
|
||||
c_name = cf.gen_unique_str(prefix)
|
||||
collection_w = self.init_collection_wrap(name=c_name)
|
||||
collection_w.create_index(default_field_name, default_index_params)
|
||||
ms = MilvusSys()
|
||||
nb = 3000
|
||||
df = cf.gen_default_dataframe_data(nb)
|
||||
collection_w.insert(df)
|
||||
# get sealed segments
|
||||
collection_w.num_entities
|
||||
collection_w.create_index(default_field_name, default_index_params)
|
||||
# get growing segments
|
||||
collection_w.insert(df)
|
||||
collection_w.load()
|
||||
|
Loading…
Reference in New Issue
Block a user