[skip e2e] Update compaction related test cases for code change (#17596)

Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
This commit is contained in:
binbin 2022-06-16 21:20:11 +08:00 committed by GitHub
parent bea6fcd5fd
commit 380c788ec9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -584,7 +584,7 @@ class TestCompactionOperation(TestcaseBase):
collection_w.compact() collection_w.compact()
c_plans = collection_w.get_compaction_plans()[0] c_plans = collection_w.get_compaction_plans()[0]
assert len(c_plans.plans) == 0 assert len(c_plans.plans) == 1
# search # search
collection_w.load() collection_w.load()
@ -742,7 +742,7 @@ class TestCompactionOperation(TestcaseBase):
collection_w.compact() collection_w.compact()
collection_w.wait_for_compaction_completed() collection_w.wait_for_compaction_completed()
c_plans, _ = collection_w.get_compaction_plans() c_plans, _ = collection_w.get_compaction_plans()
assert len(c_plans.plans) == 0 assert len(c_plans.plans) == 1
@pytest.mark.tags(CaseLabel.L1) @pytest.mark.tags(CaseLabel.L1)
def test_compact_manual_and_auto(self): def test_compact_manual_and_auto(self):