未验证 提交 2c4c9f3e 编写于 作者: B binbin 提交者: GitHub

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

Signed-off-by: NBinbin Lv <binbin.lv@zilliz.com>
上级 9a564a7a
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册