diff --git a/tests/python_client/testcases/test_collection.py b/tests/python_client/testcases/test_collection.py index 843cc806d1f10..a737210eed1b7 100644 --- a/tests/python_client/testcases/test_collection.py +++ b/tests/python_client/testcases/test_collection.py @@ -3136,7 +3136,8 @@ def test_collection_describe(self): {'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) diff --git a/tests/python_client/testcases/test_search.py b/tests/python_client/testcases/test_search.py index fb0030b968310..a1dd1d8bba3fb 100644 --- a/tests/python_client/testcases/test_search.py +++ b/tests/python_client/testcases/test_search.py @@ -184,6 +184,8 @@ def test_search_param_invalid_vectors(self, get_invalid_vectors): 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