mirror of https://github.com/milvus-io/milvus.git
parent
8ec85f5f4c
commit
4d30405a6e
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue