mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add skipped compaction cases (#11502)
Signed-off-by: ThreadDao <yufen.zong@zilliz.com>pull/11526/head
parent
4be47880ba
commit
ab5a7f4235
|
@ -16,6 +16,34 @@ class TestCompactionParams(TestcaseBase):
|
|||
"""
|
||||
pass
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
def test_compact_twice(self):
|
||||
"""
|
||||
target: test compact twice
|
||||
method: compact twice
|
||||
expected: No exception
|
||||
"""
|
||||
pass
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
def test_compact_partition(self):
|
||||
"""
|
||||
target: test compact partition
|
||||
method: compact partition
|
||||
expected: Verify partition segments merged
|
||||
"""
|
||||
pass
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
def test_compact_growing_segment(self):
|
||||
"""
|
||||
target: test compact growing data
|
||||
method: 1.insert into multi segments without flush
|
||||
2.compact
|
||||
expected: No compaction (compact just for sealed data)
|
||||
"""
|
||||
pass
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
def test_compact_empty_collection(self):
|
||||
"""
|
||||
|
@ -25,6 +53,40 @@ class TestCompactionParams(TestcaseBase):
|
|||
"""
|
||||
pass
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
def test_compact_after_delete_single(self):
|
||||
"""
|
||||
target: test delete one entity and compact
|
||||
method: 1.create with shard_num=1
|
||||
2.delete one sealed entity
|
||||
2.compact
|
||||
expected: Verify compact result todo
|
||||
"""
|
||||
pass
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
def test_compact_after_delete_half(self):
|
||||
"""
|
||||
target: test delete half entity and compact
|
||||
method: 1.create with shard_num=1
|
||||
2.insert and flush
|
||||
3.delete half of nb
|
||||
4.compact
|
||||
expected: collection num_entities decrease
|
||||
"""
|
||||
pass
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
def test_compact_after_delete_all(self):
|
||||
"""
|
||||
target: test delete all and compact
|
||||
method: 1.create with shard_num=1
|
||||
2.delete all sealed data
|
||||
3.compact
|
||||
expected: collection num_entities is close to 0
|
||||
"""
|
||||
pass
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="Waiting for development")
|
||||
class TestCompactionOperation(TestcaseBase):
|
||||
|
|
Loading…
Reference in New Issue