提交 4ad0338d 编写于 作者: C cai.zhang 提交者: yefu.chen

Check field type while inserting

Signed-off-by: Ncai.zhang <cai.zhang@zilliz.com>
上级 1efcf605
......@@ -420,7 +420,7 @@ class TestInsertBase:
with pytest.raises(Exception):
connect.insert(collection, tmp_entity)
@pytest.mark.skip(" todo support type check")
# @pytest.mark.skip(" todo support type check")
def test_insert_with_field_type_not_match(self, connect, collection):
'''
target: test insert entities, with the entity field type updated
......
......@@ -395,6 +395,7 @@ class TestInsertBase:
connect.insert(collection, tmp_entity)
@pytest.mark.level(2)
@pytest.mark.tags("0331")
def test_insert_with_field_type_not_match(self, connect, collection):
'''
target: test insert entities, with the entity field type updated
......
......@@ -2,7 +2,7 @@ grpcio==1.26.0
grpcio-tools==1.26.0
numpy==1.18.1
pytest-cov==2.8.1
pymilvus-distributed==0.0.35
pymilvus-distributed==0.0.36
sklearn==0.0
pytest==4.5.0
pytest-timeout==1.3.3
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册