mirror of https://github.com/milvus-io/milvus.git
parent
e43af16e93
commit
2291d0c9f5
|
@ -3136,7 +3136,8 @@ class TestDescribeCollection(TestcaseBase):
|
|||
{'field_id': 103, 'name': 'json_field', 'description': '', 'type': 23, 'params': {}},
|
||||
{'field_id': 104, 'name': 'float_vector', 'description': '', 'type': 101, 'params': {'dim': 128}}
|
||||
],
|
||||
'aliases': [], 'consistency_level': 0, 'properties': {}, 'num_partitions': 1, 'enable_dynamic_field': False}
|
||||
'functions': [], 'aliases': [], 'consistency_level': 0, 'properties': {},
|
||||
'num_partitions': 1, 'enable_dynamic_field': False}
|
||||
res = collection_w.describe()[0]
|
||||
del res['collection_id']
|
||||
log.info(res)
|
||||
|
|
|
@ -184,6 +184,8 @@ class TestCollectionSearchInvalid(TestcaseBase):
|
|||
method: search with invalid data
|
||||
expected: raise exception and report the error
|
||||
"""
|
||||
if get_invalid_vectors in [[" "], ['a']]:
|
||||
pytest.skip("['a'] and [' '] is valid now")
|
||||
# 1. initialize with data
|
||||
collection_w = self.init_collection_general(prefix, dim=32)[0]
|
||||
# 2. search with invalid field
|
||||
|
|
Loading…
Reference in New Issue