From 8db3783782e04113434bc632e932cb46360d4faa Mon Sep 17 00:00:00 2001 From: ThreadDao Date: Tue, 9 Nov 2021 19:56:18 +0800 Subject: [PATCH] [skip ci] Add skipped compact operation cases (#11509) Signed-off-by: ThreadDao --- .../testcases/test_compaction.py | 37 ++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/tests/python_client/testcases/test_compaction.py b/tests/python_client/testcases/test_compaction.py index 48ef1b9655..d9ccc6f1c4 100644 --- a/tests/python_client/testcases/test_compaction.py +++ b/tests/python_client/testcases/test_compaction.py @@ -90,4 +90,39 @@ class TestCompactionParams(TestcaseBase): @pytest.mark.skip(reason="Waiting for development") class TestCompactionOperation(TestcaseBase): - pass + + @pytest.mark.tags(CaseLabel.L2) + def test_compact_after_index(self): + """ + target: test compact after create index + method: 1.insert data into two segments + 2.create index + 3.compact + 4.search + expected: Verify segment info and index info + """ + pass + + @pytest.mark.tags(CaseLabel.L2) + def test_compact_after_binary_index(self): + """ + target: test compact after create index + method: 1.insert binary data into two segments + 2.create binary index + 3.compact + 4.search + expected: Verify segment info and index info + """ + pass + + @pytest.mark.tags(CaseLabel.L2) + def test_compact_before_index(self): + """ + target: test compact and create index + method: 1.insert data into two segments + 2.compact + 3.create index + 4.search + expected: Verify search result and index info + """ + pass