[skip ci] Add skipped compaction cases (#11502)

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
pull/11526/head
ThreadDao 2021-11-09 19:48:36 +08:00 committed by GitHub
parent 4be47880ba
commit ab5a7f4235
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 62 additions and 0 deletions

View File

@ -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):