mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 12:29:36 +08:00
[skip ci] Add skipped compact no merge case (#11938)
Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
This commit is contained in:
parent
39d00fb827
commit
f52e46772e
@ -283,7 +283,20 @@ class TestCompactionOperation(TestcaseBase):
|
||||
3.compact and search
|
||||
expected: No exception
|
||||
"""
|
||||
pass
|
||||
# create collection
|
||||
collection_w = self.init_collection_wrap(name=cf.gen_unique_str(prefix), shards_num=1)
|
||||
df = cf.gen_default_dataframe_data(tmp_nb)
|
||||
collection_w.insert(df)
|
||||
assert collection_w.num_entities == tmp_nb
|
||||
|
||||
collection_w.compact()
|
||||
while True:
|
||||
c_state = collection_w.get_compaction_state()
|
||||
log.debug(c_state)
|
||||
if c_state.state == State.Completed and c_state.in_timeout == 0:
|
||||
break
|
||||
c_plans, _ = collection_w.get_compaction_plans()
|
||||
assert len(c_plans.plans) == 0
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L1)
|
||||
def test_compact_merge_multi_segments(self):
|
||||
|
Loading…
Reference in New Issue
Block a user