mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 02:48:45 +08:00
Check field type while inserting
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
This commit is contained in:
parent
1efcf605e2
commit
4ad0338d35
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user