mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Add comments for insert test cases (#9582)
Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
This commit is contained in:
parent
4a6a71020e
commit
fe2b3cafba
@ -1082,6 +1082,11 @@ class TestInsertInvalid(object):
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
def test_insert_with_invalid_field_type(self, connect, collection, get_field_type):
|
||||
"""
|
||||
target: test insert with invalid field
|
||||
method: insert with invalid field type
|
||||
expected: raise exception
|
||||
"""
|
||||
field_type = get_field_type
|
||||
tmp_entity = ut.update_field_type(copy.deepcopy(default_entity), 'float', field_type)
|
||||
with pytest.raises(Exception):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user