mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Add compact before verification (#20618)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com> Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>pull/20572/head
parent
51093dfccd
commit
aa04787f32
|
@ -31,6 +31,10 @@ class TestAllCollection(TestcaseBase):
|
|||
collection_w = self.init_collection_wrap(name=name, active_trace=True)
|
||||
tt = time.time() - t0
|
||||
assert collection_w.name == name
|
||||
# compact collection before getting num_entities
|
||||
collection_w.compact()
|
||||
collection_w.wait_for_compaction_completed()
|
||||
|
||||
entities = collection_w.num_entities
|
||||
log.info(f"assert create collection: {tt}, init_entities: {entities}")
|
||||
|
||||
|
|
Loading…
Reference in New Issue