未验证 提交 5d7eedde 编写于 作者: D del-zhenwu 提交者: GitHub

Enable query test cases in tests/ (#6089)

* Enable query test cases in tests/
Signed-off-by: Nzw <zw@milvus.io>

* update
Signed-off-by: Nzw <zw@milvus.io>
Co-authored-by: Nzw <zw@milvus.io>
上级 e8737276
...@@ -316,7 +316,7 @@ class TestInsertBase: ...@@ -316,7 +316,7 @@ class TestInsertBase:
logging.getLogger().info(len(ids)) logging.getLogger().info(len(ids))
entity = copy.deepcopy(default_entity) entity = copy.deepcopy(default_entity)
entity[0]["values"] = ids entity[0]["values"] = ids
with pytest.raises(BaseException) as e: with pytest.raises(Exception) as e:
connect.insert(id_collection, entity) connect.insert(id_collection, entity)
@pytest.mark.timeout(ADD_TIMEOUT) @pytest.mark.timeout(ADD_TIMEOUT)
......
...@@ -3,7 +3,6 @@ log_format = [%(asctime)s-%(levelname)s-%(name)s]: %(message)s (%(filename)s:%(l ...@@ -3,7 +3,6 @@ log_format = [%(asctime)s-%(levelname)s-%(name)s]: %(message)s (%(filename)s:%(l
log_date_format = %Y-%m-%d %H:%M:%S log_date_format = %Y-%m-%d %H:%M:%S
log_cli = true log_cli = true
addopts = -x
log_level = 20 log_level = 20
timeout = 360 timeout = 360
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册