update test cases (#28339)

Signed-off-by: nico <cheng.yuan@zilliz.com>
pull/28366/head
nico 2023-11-13 09:32:31 +08:00 committed by GitHub
parent 8ec85f5f4c
commit 4d30405a6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ allure-pytest==2.7.0
pytest-print==0.2.1
pytest-level==0.1.1
pytest-xdist==2.5.0
pymilvus==2.3.2.post1.dev4
pymilvus==2.3.2.post1.dev5
pytest-rerunfailures==9.1.1
git+https://github.com/Projectplace/pytest-tags
ndg-httpsclient

View File

@ -1102,8 +1102,8 @@ class TestCollectionOperation(TestcaseBase):
self._connect()
fields = []
for k, v in DataType.__members__.items():
if v and v != DataType.UNKNOWN and v != DataType.STRING\
and v != DataType.VARCHAR and v != DataType.FLOAT_VECTOR\
if v and v != DataType.UNKNOWN and v != DataType.STRING \
and v != DataType.VARCHAR and v != DataType.FLOAT_VECTOR and v != DataType.FLOAT16_VECTOR \
and v != DataType.BINARY_VECTOR and v != DataType.ARRAY:
field, _ = self.field_schema_wrap.init_field_schema(name=k.lower(), dtype=v)
fields.append(field)
@ -3071,7 +3071,7 @@ class TestDescribeCollection(TestcaseBase):
'element_type': 0},
{'field_id': 104, 'name': 'float_vector', 'description': '', 'type': 101,
'params': {'dim': 128}, 'element_type': 0}],
'aliases': [], 'consistency_level': 0, 'properties': [], 'num_partitions': 1}
'aliases': [], 'consistency_level': 0, 'properties': {}, 'num_partitions': 1}
res = collection_w.describe()[0]
del res['collection_id']
log.info(res)