[skip ci] Modify L2 test case (#11547)

Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
This commit is contained in:
binbin 2021-11-10 19:42:29 +08:00 committed by GitHub
parent 10b1a168d3
commit 17e5b19d32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2964,8 +2964,8 @@ class TestReleaseAdvanced:
connect.load_partitions(collection, [default_tag])
res = connect.search(collection, **query, _async=True)
connect.release_partitions(collection, [default_tag])
with pytest.raises(Exception) as e:
res = connect.search(collection, **default_single_query)
res = connect.search(collection, **default_single_query)
assert len(res[0]) == 0
@pytest.mark.tags(CaseLabel.L0)
def test_release_collection_during_searching_A(self, connect, collection):