[skip e2e] Update L2 test case after the change of pymilvus (#15219)

Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
pull/15222/head
binbin 2022-01-14 17:33:34 +08:00 committed by GitHub
parent 9a564a7a5e
commit 2c4c9f3e7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -489,11 +489,11 @@ class TestCollectionSearchInvalid(TestcaseBase):
collection_w = self.init_collection_general(prefix, True, 10, partition_num, is_index=True)[0]
par = collection_w.partitions
par_name = par[partition_num].name
par[partition_num].load()
# 2. release partition
conn = self.connection_wrap.get_connection()[0]
conn.release_partitions(collection_w.name, [par_name])
par[partition_num].release()
# 3. Search the released partition
log.info("test_search_release_partition: Searching specifying the released partition")
log.info("test_search_release_partition: Searching the released partition")
limit = 10
collection_w.search(vectors, default_search_field,
default_search_params, limit, default_search_exp,