mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 20:09:57 +08:00
[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:
parent
bea6fcd5fd
commit
380c788ec9
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user