Check field type while inserting

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
This commit is contained in:
cai.zhang 2021-03-05 11:46:05 +08:00 committed by yefu.chen
parent 1efcf605e2
commit 4ad0338d35
3 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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