mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
[skip ci] Modify L2 test case for design change (#12526)
Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
This commit is contained in:
parent
2ebe59e0b4
commit
53b1af4586
@ -2949,7 +2949,6 @@ class TestReleaseAdvanced:
|
||||
connect.search(collection, **default_single_query)
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
@pytest.mark.skip(reason="issue 12259")
|
||||
def test_release_partition_during_searching(self, connect, collection):
|
||||
"""
|
||||
target: test release partition during searching
|
||||
@ -2965,8 +2964,8 @@ class TestReleaseAdvanced:
|
||||
connect.load_partitions(collection, [default_tag])
|
||||
res = connect.search(collection, **query, _async=True)
|
||||
connect.release_partitions(collection, [default_tag])
|
||||
res = connect.search(collection, **default_single_query)
|
||||
assert len(res[0]) == 0
|
||||
with pytest.raises(Exception):
|
||||
res = connect.search(collection, **default_single_query)
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L0)
|
||||
def test_release_collection_during_searching_A(self, connect, collection):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user